fix: payment route name
This commit is contained in:
@@ -45,6 +45,7 @@ func (l *RefundLogic) Refund(in *payment.RefundReq) (*payment.Response, error) {
|
||||
|
||||
orderInfo, err := getOrderInfo(l.ctx, l.svcCtx.OrderSvcName, loginUser.ID, in.OrderSn, loginUser.Type)
|
||||
if err != nil {
|
||||
l.Errorf("get order info: %v", err)
|
||||
return failResponse(utils.ErrorNotFund), nil
|
||||
}
|
||||
if orderPayStatus(orderInfo) != dao.PayStatusOk {
|
||||
|
||||
Reference in New Issue
Block a user