启用门店打包费

This commit is contained in:
gazebo
2020-01-06 09:11:20 +08:00
parent 13922ead60
commit 3164ee994e
2 changed files with 6 additions and 6 deletions

View File

@@ -293,9 +293,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))
// }
boxFee, err := dao.GetSysConfigAsInt64(dao.GetDB(), model.ConfigSysMtwmBoxFee)
if err == nil {
err = api.MtwmAPI.PackagePriceUpdate(vendorStoreID, 1, int(boxFee))
}
return err
}