|
|
|
@ -119,8 +119,9 @@ class OverallController extends AbstractApiController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @api POST 同步全量跨境托管订单
|
|
|
|
|
* @api POST 同步商品
|
|
|
|
|
* @param string searchKeyword 商品ID
|
|
|
|
|
* @param int mallId 店铺ID
|
|
|
|
|
*/
|
|
|
|
|
public function syncGoodsSingle() {
|
|
|
|
|
// TODO 同步接口
|
|
|
|
@ -136,5 +137,22 @@ class OverallController extends AbstractApiController {
|
|
|
|
|
$consigneeInfo = $this->areaService->parseAddressInfo($_POST['addressStr'], $_POST['isMatchTown']);
|
|
|
|
|
return $this->setData(['consigneeInfo' => $consigneeInfo])->renderSuccess();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @api GET 检查同步结果
|
|
|
|
|
* @param array authMallIds 授权店铺id【不传默认当前授权登录店铺】
|
|
|
|
|
*/
|
|
|
|
|
public function checkRsyncDataFinished() {
|
|
|
|
|
$data = [];
|
|
|
|
|
$data['isSyncingGoods'] = false;
|
|
|
|
|
$data['isSyncingOrder'] = false;
|
|
|
|
|
$data['isSyncingFulfillmentOrder'] = false;
|
|
|
|
|
$data['isSyncingFdsOrder'] = false;
|
|
|
|
|
$data['syncingGoodsMallIds'] = [];
|
|
|
|
|
$data['syncingOrderMallIds'] = [];
|
|
|
|
|
$data['syncingFulfillmentOrderMallIds'] = [];
|
|
|
|
|
$data['syncingFdsOrderMallIds'] = [];
|
|
|
|
|
return $this->renderSuccess($data);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|