1
This commit is contained in:
@@ -189,7 +189,7 @@ func (a *API) OrderStatusAndPsInfoNew(param map[string]interface{}, vendorStoreI
|
||||
request.Param.DistributionCode = JxLogistics2Tiktok(param["logistics_provider_code"].(string))
|
||||
request.Param.RiderLatitude = utils.String2Pointer(param["latitude"].(string))
|
||||
request.Param.RiderLongitude = utils.String2Pointer(param["longitude"].(string))
|
||||
request.Param.DistributionDeliveryId = param["third_carrier_order_id"].(string)
|
||||
request.Param.DistributionDeliveryId = param["order_id"].(string)
|
||||
|
||||
switch param["opcode"].(string) {
|
||||
case TiktokLogisticsStatusCALLRIDER:
|
||||
@@ -204,7 +204,7 @@ func (a *API) OrderStatusAndPsInfoNew(param map[string]interface{}, vendorStoreI
|
||||
logisticsEdit.Param = &order_logisticsEdit_request.OrderLogisticsEditParam{
|
||||
OrderId: param["order_id"].(string),
|
||||
CompanyCode: JxLogistics2Tiktok(param["logistics_provider_code"].(string)),
|
||||
LogisticsCode: param["third_carrier_order_id"].(string),
|
||||
LogisticsCode: param["order_id"].(string),
|
||||
StoreId: utils.Str2Int64(vendorStoreId),
|
||||
}
|
||||
logisticsData, err := logisticsEdit.Execute(a.accessTokenObj)
|
||||
|
||||
Reference in New Issue
Block a user