1
This commit is contained in:
@@ -111,8 +111,14 @@ func (c *DeliveryHandler) UpdateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 获取蜂鸟门店id
|
||||||
|
fnStore, err := api.FnAPI.GetStore(storeDetail.VendorStoreID)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
updateStore := &fnpsapi.UpdateStoreParam{
|
updateStore := &fnpsapi.UpdateStoreParam{
|
||||||
ChainStoreID: storeDetail.VendorStoreID,
|
ChainStoreID: string(fnStore.ChainStoreID),
|
||||||
HeadShopName: brandInfo[0].Name + "-" + storeDetail.Name,
|
HeadShopName: brandInfo[0].Name + "-" + storeDetail.Name,
|
||||||
ContactPhone: storeDetail.Tel1,
|
ContactPhone: storeDetail.Tel1,
|
||||||
Address: storeDetail.Address,
|
Address: storeDetail.Address,
|
||||||
|
|||||||
Reference in New Issue
Block a user