From 49427f9b8e34afd392e9bbef9af61034f2770f18 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 14 一月 2025 15:19:29 +0800 Subject: [PATCH] 修改bug --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java index c240a54..47416d8 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java @@ -295,6 +295,9 @@ appUserShop.setShopId(shop.getId()); appUserShop.setRoleType(1); appUserClient.addAppUserShop(appUserShop); + appUser.setUserType(2); + appUserClient.editAppUserById(appUser); + //修改管理员 shop.setAppUserId(appUser.getId()); @@ -669,7 +672,7 @@ @PostMapping("/saveWithdrawalAccount") @ApiOperation(value = "保存提现账户", tags = {"门店后台-财务统计-提现明细"}) - public R saveWithdrawalAccount(SaveWithdrawalAccount saveWithdrawalAccount) { + public R saveWithdrawalAccount(@RequestBody SaveWithdrawalAccount saveWithdrawalAccount) { shopService.saveWithdrawalAccount(saveWithdrawalAccount); return R.ok(); } -- Gitblit v1.7.1