mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
45 lines
1012 B
PHP
45 lines
1012 B
PHP
<?php
|
|
|
|
namespace App\Services\Business\MiaoXuan;
|
|
|
|
use App\Models\BusinessGoodsSku;
|
|
use App\Services\Business\BusinessClient;
|
|
|
|
class MiaoXuan extends BusinessClient
|
|
{
|
|
|
|
public function auth()
|
|
{
|
|
// TODO: Implement auth() method.
|
|
}
|
|
|
|
public function downloadGoodsListAndBind()
|
|
{
|
|
}
|
|
|
|
public function bindGoods($goods)
|
|
{
|
|
Goods::bindGoods($goods, $this->shop->id);
|
|
}
|
|
|
|
public function incrQuantity($businessGoodsSku, $num, $incremental)
|
|
{
|
|
$appendParams = Goods::incrQuantity($this->shop->id, $num, $businessGoodsSku);
|
|
$url = 'http://shop.chutang66.com/miaoxuan/stock';
|
|
$this->formDataPostRequest($url, $appendParams);
|
|
}
|
|
|
|
public function downloadOrdersAndSave($beginTime, $endTime, $downloadType = 'default', $page = 1)
|
|
{
|
|
}
|
|
|
|
public function batchIncrQuantity($businessGoodsSkus, $num, $incremental)
|
|
{
|
|
}
|
|
|
|
public function downloadGoods($skuId)
|
|
{
|
|
// TODO: Implement downloadGoods() method.
|
|
}
|
|
}
|