diff --git a/app/http/controllers/front/api.go b/app/http/controllers/front/api.go index 6f9fafb..137d5ee 100644 --- a/app/http/controllers/front/api.go +++ b/app/http/controllers/front/api.go @@ -46,7 +46,7 @@ func Refund(c *gin.Context) { appCheckInfo := controllers.GetAppCheckInfo(c).(*services.AppCheck) refund, errCode := thirdpay.ThirdPayRefund(c.Request.Context(), req, appCheckInfo, c.ClientIP()) if errCode != errorcode.Success { - controllers.ApiRes(c, nil, errCode, refund.ThirdMsg) + controllers.ApiRes(c, nil, errCode) return } data := thirdpay.NewOrdersResp(refund.Order)