修改蜂鸟配送
This commit is contained in:
@@ -2009,6 +2009,9 @@ func updateOrCreateCourierStore(ctx *jxcontext.Context, storeDetail *dao.StoreDe
|
||||
} else {
|
||||
storeDetail.CourierStatus = remoteStoreDetail.CourierStatus
|
||||
storeDetail.AuditStatus = remoteStoreDetail.AuditStatus
|
||||
if storeDetail.VendorID == model.VendorIDFengNiao {
|
||||
storeDetail.VendorStoreID = remoteStoreDetail.VendorStoreID
|
||||
}
|
||||
needUpdate = true
|
||||
}
|
||||
if err == nil && needUpdate {
|
||||
|
||||
@@ -112,7 +112,7 @@ func (c *DeliveryHandler) UpdateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
||||
}
|
||||
|
||||
updateStore := &fnpsapi.UpdateStoreParam{
|
||||
ChainStoreID: "",
|
||||
ChainStoreID: storeDetail.VendorStoreID,
|
||||
HeadShopName: brandInfo[0].Name + "-" + storeDetail.Name,
|
||||
ContactPhone: storeDetail.Tel1,
|
||||
Address: storeDetail.Address,
|
||||
|
||||
Reference in New Issue
Block a user