更新美团 cookie

SyncStore2添加isManageIt
This commit is contained in:
gazebo
2020-01-06 10:21:54 +08:00
parent 152844a9f4
commit a07209c86d
3 changed files with 5 additions and 3 deletions

View File

@@ -295,7 +295,9 @@ func (c *PurchaseHandler) UpdateStoreCustomID(ctx *jxcontext.Context, vendorOrgC
func (c *PurchaseHandler) UpdateStoreBoxFee(ctx *jxcontext.Context, vendorOrgCode string, storeID int, vendorStoreID string) (err error) {
boxFee, err := dao.GetSysConfigAsInt64(dao.GetDB(), model.ConfigSysMtwmBoxFee)
if err == nil {
err = api.MtwmAPI.PackagePriceUpdate(vendorStoreID, 1, int(boxFee))
if globals.EnableMtwmStoreWrite {
err = api.MtwmAPI.PackagePriceUpdate(vendorStoreID, 1, int(boxFee))
}
}
return err
}