- AgreeOrRefuseRefund renmae to AgreeOrRefuseCancel

- 修改饿百门店状态判断的错误
This commit is contained in:
gazebo
2019-04-16 09:28:02 +08:00
parent ba85c710b5
commit 98e873f0b2
7 changed files with 7 additions and 9 deletions

View File

@@ -314,7 +314,7 @@ func (c *PurchaseHandler) GetStatusActionTimeout(order *model.GoodsOrder, status
return params
}
func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *model.GoodsOrder, isAgree bool, reason string) (err error) {
func (c *PurchaseHandler) AgreeOrRefuseCancel(ctx *jxcontext.Context, order *model.GoodsOrder, isAgree bool, reason string) (err error) {
if globals.EnableMtwmStoreWrite {
if isAgree {
err = api.MtwmAPI.OrderRefundAgree(utils.Str2Int64(order.VendorOrderID), reason)