This commit is contained in:
邹宗楠
2022-03-30 16:51:51 +08:00
parent 890ef8433a
commit 3f1f12ce25

View File

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