From 451116c1df3c639da15b3d213f3fcff2f585337a Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期二, 15 四月 2025 19:22:52 +0800
Subject: [PATCH] 前端联调

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java
index 9661178..fcbb2b7 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java
@@ -79,7 +79,7 @@
      * 提现申请列表
      */
     @GetMapping("/list")
-    @ApiOperation("提现申请列表")
+    @ApiOperation(value = "提现申请列表" )
     public R<IPage<ShopWithdraw>> list(@ApiParam("页码") @RequestParam Integer pageNum,
                          @ApiParam("每一页数据大小") Integer pageSize,
                          ShopWithdraw shopWithdraw) {
@@ -120,7 +120,6 @@
                         .eq(auditStatus!=null,ShopWithdraw::getAuditStatus,auditStatus)
                         .orderByDesc(ShopWithdraw::getCreateTime)
                 );
-        page.getRecords().forEach(s->s.setIdStr(s.getId().toString()));
         return R.ok(page);
     }
 
@@ -191,6 +190,8 @@
         }
         ShopWithdraw shopWithdraw = new ShopWithdraw();
         shopWithdraw.setShopId(shopId);
+        shopWithdraw.setShopName(shop.getName());
+        shopWithdraw.setCreateUserId(userId);
         shopWithdraw.setMoney(money);
         shopWithdraw.setAuditStatus(0);//待审核
         shopWithdraw.setStatus(1);//申请中

--
Gitblit v1.7.1