41 lines
945 B
PHP
Raw Normal View History

<?php
namespace App\Services\Business\MiaoXuan;
use App\Models\GoodsSku;
use App\Services\Business\BusinessClient;
class MiaoXuan extends BusinessClient
{
public function auth()
{
// TODO: Implement auth() method.
}
2022-08-09 16:56:52 +08:00
public function downloadGoodsListAndBind()
{
}
2022-08-06 16:38:04 +08:00
public function bindGoods($goods)
{
Goods::bindGoods($goods, $this->shop->id);
}
public function incrQuantity($businessGoodsSku, $num, $incremental, GoodsSku $goodsSku)
{
$appendParams = Goods::incrQuantity($this->shop->id, $goodsSku->stock, $businessGoodsSku);
2022-08-08 15:05:17 +08:00
$url = 'http://shop.chutang66.com/miaoxuan/stock';
2022-08-06 16:38:04 +08:00
$this->formDataPostRequest($url, $appendParams);
}
public function downloadOrdersAndSave($beginTime, $endTime, $downloadType = 'default', $page = 1)
{
}
public function downloadGoods($skuId)
{
// TODO: Implement downloadGoods() method.
}
}