소스 검색

退款接口

xlq 2 달 전
부모
커밋
0df98afa32
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/java/com/qmrb/system/wxpayback/api/CommonController.java

+ 2 - 1
src/main/java/com/qmrb/system/wxpayback/api/CommonController.java

@@ -41,7 +41,8 @@ public class CommonController {
         }catch (ApiException e) {
             log.error(this.getClass().getSimpleName(), e);
             log.error(this.getClass().getSimpleName(),e.getLocalizedMessage());
-            return CommonResult.failed(e.getErrorCode());
+            // return CommonResult.failed(e.getErrorCode());
+            return CommonResult.failed("退款失败");
         } catch (Exception e){
             log.error(this.getClass().getSimpleName(), e);
             log.error(this.getClass().getSimpleName(),e.getLocalizedMessage());