- orderStatus/cancelAndRefund的错误返回信息在detail中

This commit is contained in:
gazebo
2019-07-21 10:03:38 +08:00
parent 594ed19bf3
commit 1597e86ba8

View File

@@ -551,7 +551,7 @@ func (a *API) CancelAndRefund(orderId, operPin, operRemark string) (err error) {
"operRemark": operRemark,
"operTime": utils.GetCurTimeStr(),
}
_, err = a.AccessAPINoPage("orderStatus/cancelAndRefund", jdParams, nil, nil, nullResultParser)
_, err = a.AccessAPINoPage("orderStatus/cancelAndRefund", jdParams, nil, nil, genNoPageResultParser("code", "detail", "", "0"))
return err
}