门店电话改为统一的

This commit is contained in:
苏尹岚
2020-05-18 14:19:14 +08:00
parent 457dd5e76d
commit da1473e893
4 changed files with 13 additions and 14 deletions

View File

@@ -375,14 +375,15 @@ func ebaiOpTime2Jx(businessTime interface{}) (opTimeList []int16) {
func genStoreMapFromStore(store *tEbaiStoreInfo) map[string]interface{} {
params := fillOpTimeParams(nil, store.GetOpTimeList())
tel := store.Tel1
if tel == "" {
tel = store.Tel2
}
if tel != "" {
// params["phone"] = tel // 外卖客服联系电话,这个有时能修改,有时不能修改,暂时统一不改
params["ivr_phone"] = tel // 订单提醒电话
}
// tel := store.Tel1
// if tel == "" {
// tel = store.Tel2
// }
// if tel != "" {
// // params["phone"] = tel // 外卖客服联系电话,这个有时能修改,有时不能修改,暂时统一不改
// params["ivr_phone"] = tel // 订单提醒电话
// }
params["ivr_phone"] = model.VendorStoreTel //统一改为这个电话
if store.VendorStoreID != "" {
params["baidu_shop_id"] = store.VendorStoreID
}