+ IPurchasePlatformHandler.UpdateStoreCustomID
- 删除平台门店时,将平台门店的CUSTOMID设置为其平台ID本身 - 饿了么与微商城handler不注册了
This commit is contained in:
@@ -462,3 +462,12 @@ func (c *PurchaseHandler) SyncQualify(ctx *jxcontext.Context, storeDetail *dao.S
|
||||
}
|
||||
return addStoreInfo2Err(err, storeDetail.ID)
|
||||
}
|
||||
|
||||
func (c *PurchaseHandler) UpdateStoreCustomID(ctx *jxcontext.Context, vendorStoreID string, storeID int64) (err error) {
|
||||
if globals.EnableJdStoreWrite {
|
||||
err = getAPI("").UpdateStoreInfo4Open(vendorStoreID, ctx.GetUserName(), map[string]interface{}{
|
||||
jdapi.KeyOutSystemId: utils.Int64ToStr(storeID),
|
||||
})
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user