- 饿百门店不修改电话信息
This commit is contained in:
@@ -362,17 +362,17 @@ func JxBusinessTime2Ebai(store *model.Store) interface{} {
|
||||
|
||||
func genStoreMapFromStore(store *tEbaiStoreInfo) map[string]interface{} {
|
||||
params := map[string]interface{}{
|
||||
"phone": store.Tel1,
|
||||
"business_time": JxBusinessTime2Ebai(&store.Store),
|
||||
}
|
||||
// if store.Tel2 != "" {
|
||||
// params["ivr_phone"] = store.Tel2
|
||||
// }
|
||||
// params["phone"] = store.Tel1
|
||||
if store.VendorStoreID != "" {
|
||||
params["baidu_shop_id"] = store.VendorStoreID
|
||||
}
|
||||
if store.Tel2 != "" {
|
||||
params["ivr_phone"] = store.Tel2
|
||||
}
|
||||
if store.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreName) != 0 {
|
||||
// params["name"] = jxutils.ComposeStoreName(store.Name, model.VendorIDEBAI)
|
||||
if store.SyncStatus&(model.SyncFlagNewMask /*|model.SyncFlagStoreName*/) != 0 {
|
||||
params["name"] = jxutils.ComposeStoreName(store.Name, model.VendorIDEBAI)
|
||||
}
|
||||
// todo 饿百 开店审核通过后不允许修改商户信息
|
||||
if store.SyncStatus&(model.SyncFlagNewMask /*|model.SyncFlagStoreAddress*/) != 0 {
|
||||
|
||||
Reference in New Issue
Block a user