diff --git a/business/partner/purchase/ebai/store.go b/business/partner/purchase/ebai/store.go index 1ca1f083f..3182ddb5e 100644 --- a/business/partner/purchase/ebai/store.go +++ b/business/partner/purchase/ebai/store.go @@ -204,10 +204,9 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin if err != nil { return err } - // todo 饿百 开店审核通过后不允许修改商户信息 - // params := genStoreMapFromStore(store) - // if err = api.EbaiAPI.ShopUpdate(params); err == nil { - // } + params := genStoreMapFromStore(store) + if err = api.EbaiAPI.ShopUpdate(params); err == nil { + } } } } @@ -375,7 +374,8 @@ func genStoreMapFromStore(store *tEbaiStoreInfo) map[string]interface{} { if store.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreName) != 0 { // params["name"] = jxutils.ComposeStoreName(store.Name, model.VendorIDEBAI) } - if store.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreAddress) != 0 { + // todo 饿百 开店审核通过后不允许修改商户信息 + if store.SyncStatus&(model.SyncFlagNewMask /*|model.SyncFlagStoreAddress*/) != 0 { params["longitude"] = jxutils.IntCoordinate2Standard(store.Lng) params["latitude"] = jxutils.IntCoordinate2Standard(store.Lat) params["address"] = store.Address