- 美团外卖门店同步不同步地址(要报错,已接入美团配送,不可修改门店配送相关信息)
This commit is contained in:
@@ -114,8 +114,8 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
|
|||||||
}
|
}
|
||||||
openLevel, isOnline := bizStatusJX2Mtwm(storeDetail.Status)
|
openLevel, isOnline := bizStatusJX2Mtwm(storeDetail.Status)
|
||||||
params := map[string]interface{}{
|
params := map[string]interface{}{
|
||||||
"name": remoteStoreInfo.Name, //jxutils.ComposeStoreName(storeDetail.Store.Name, model.VendorIDMTWM),
|
"name": remoteStoreInfo.Name, //jxutils.ComposeStoreName(storeDetail.Store.Name, model.VendorIDMTWM),
|
||||||
"address": storeDetail.Address,
|
"address": remoteStoreInfo.Address, // storeDetail.Address, // 美团好像地址也不能改的
|
||||||
"longitude": jxutils.IntCoordinate2Standard(int(remoteStoreInfo.Longitude)),
|
"longitude": jxutils.IntCoordinate2Standard(int(remoteStoreInfo.Longitude)),
|
||||||
"latitude": jxutils.IntCoordinate2Standard(int(remoteStoreInfo.Latitude)),
|
"latitude": jxutils.IntCoordinate2Standard(int(remoteStoreInfo.Latitude)),
|
||||||
"phone": storeDetail.Tel1,
|
"phone": storeDetail.Tel1,
|
||||||
|
|||||||
Reference in New Issue
Block a user