Browse Source

平台订单列表

gongfuzhu 1 year ago
parent
commit
6bf391f540

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

@@ -125,7 +125,7 @@ public class PaymentController {
     }
 
 
-    @ApiOperation("店铺-提现按钮")
+    @ApiOperation("店铺_提现按钮")
     @ResourceAuth(value = "admin", type = AuthType.Enterprise)
     @ResourceAuth(value = "admin", type = AuthType.Project)
     @RequestMapping(value = "account/withdrawals", method = RequestMethod.GET)
@@ -133,14 +133,14 @@ public class PaymentController {
         return paymentServer.withdrawals();
     }
 
-    @ApiOperation("平台-提现按钮")
+    @ApiOperation("平台_提现按钮")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
     @RequestMapping(value = "account/withdrawalsPlatform", method = RequestMethod.GET)
     public ResultContent withdrawalsPlatform() {
         return paymentServer.withdrawalsPlatform();
     }
 
-    @ApiOperation("店铺-提现订单列表")
+    @ApiOperation("店铺_提现订单列表")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
     @ResourceAuth(value = "admin", type = AuthType.Enterprise)
     @ResourceAuth(value = "admin", type = AuthType.Project)
@@ -148,8 +148,14 @@ public class PaymentController {
     public ResultContent withdrawalsList(@RequestBody WithdrawRequestModel withdrawRequestModel) {
         return paymentServer.withdrawalsList(withdrawRequestModel);
     }
+    @ApiOperation("店铺_提现订单列表")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
+    @RequestMapping(value = "account/withdrawals/platform/list", method = RequestMethod.POST)
+    public ResultContent withdrawalsPlatformList(@RequestBody WithdrawRequestModel withdrawRequestModel) {
+        return paymentServer.withdrawalsPlatformList(withdrawRequestModel);
+    }
 
-    @ApiOperation("店铺收入明细列表")
+    @ApiOperation("店铺_分账明细列表")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
     @ResourceAuth(value = "admin", type = AuthType.Enterprise)
     @ResourceAuth(value = "admin", type = AuthType.Project)
@@ -158,7 +164,7 @@ public class PaymentController {
         return paymentServer.withdrawalsDetailList(withdrawRequestModel);
     }
 
-    @ApiOperation("确认分账")
+    @ApiOperation("后台_确认分账")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
     @RequestMapping(value = "subOrdersConfirm", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
     public ResultContent subOrdersConfirm(@RequestBody SubOrderModel subOrderModel) {

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

@@ -105,6 +105,11 @@ public class PaymentService {
         withdrawRequestModel.setShopId(enterPriseId);
         return paymentService2.withdrawalsList(withdrawRequestModel);
     }
+    public ResultContent withdrawalsPlatformList(WithdrawRequestModel withdrawRequestModel) {
+        withdrawRequestModel.setShopId("PLATFORM");
+
+        return paymentService2.withdrawalsList(withdrawRequestModel);
+    }
 
     public ResultContent withdrawalsDetailList(WithdrawRequestModel withdrawRequestModel) {
         String enterPriseId = authHelper.getEnterPriseId();