gongfuzhu 1 year ago
parent
commit
feb4ae6a80

+ 8 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/controller/PaymentController.java

@@ -126,6 +126,14 @@ public class PaymentController {
     public ResultContent withdrawals() {
         return paymentServer.withdrawals();
     }
+    @ApiOperation("提现订单列表")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
+    @ResourceAuth(value = "admin", type = AuthType.Enterprise)
+    @ResourceAuth(value = "admin", type = AuthType.Project)
+    @RequestMapping(value = "account/withdrawals/list", method = RequestMethod.GET)
+    public ResultContent withdrawalsList() {
+        return paymentServer.withdrawalsList();
+    }
 
 
 }

+ 3 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/service/PaymentService.java

@@ -89,6 +89,9 @@ public class PaymentService {
     public ResultContent withdrawals() {
         return paymentService2.withdrawals(authHelper.getEnterPriseId());
     }
+    public ResultContent withdrawalsList() {
+        return paymentService2.withdrawalsList(authHelper.getEnterPriseId());
+    }
 
 
 }