美团UpdateStoreBoxFee中,忽略没有打包费配置错误

This commit is contained in:
gazebo
2020-01-07 09:47:29 +08:00
parent 3fabb0d952
commit 4a394a60eb

View File

@@ -298,6 +298,8 @@ func (c *PurchaseHandler) UpdateStoreBoxFee(ctx *jxcontext.Context, vendorOrgCod
if globals.EnableMtwmStoreWrite {
err = api.MtwmAPI.PackagePriceUpdate(vendorStoreID, 1, int(boxFee))
}
} else if dao.IsNoRowsError(err) {
err = nil
}
return err
}