门店电话修改

This commit is contained in:
苏尹岚
2020-05-19 10:15:47 +08:00
parent 73dce66195
commit 4b5191fa62
5 changed files with 23 additions and 75 deletions

View File

@@ -383,7 +383,13 @@ func genStoreMapFromStore(store *tEbaiStoreInfo) map[string]interface{} {
// // params["phone"] = tel // 外卖客服联系电话,这个有时能修改,有时不能修改,暂时统一不改
// params["ivr_phone"] = tel // 订单提醒电话
// }
params["ivr_phone"] = model.VendorStoreTel //统一改为这个电话
phone := ""
if store.MarketManPhone != "" {
phone = store.MarketManPhone
} else {
phone = model.VendorStoreTel
}
params["ivr_phone"] = phone //统一改为这个电话
if store.VendorStoreID != "" {
params["baidu_shop_id"] = store.VendorStoreID
}