From 6b3a3251bc06b081903dfe94134f034608c18ba4 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 18 十二月 2024 16:03:01 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/qijisheng --- ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java index 3c5e0b5..e0d3393 100644 --- a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java +++ b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java @@ -504,6 +504,16 @@ appUserService.updateById(byId); return R.ok(); } + @GetMapping("/change/shop") + @ApiOperation(value = "用户列表-更换门店", tags = {"管理后台"}) + public R<AppUser> shop(Long id,Long shopId) + { + AppUser byId = appUserService.getById(id); + byId.setShopId(shopId); + appUserService.updateById(byId); + return R.ok(); + } + public Long getTop(Long inviteId){ AppUser byId = appUserService.getById(inviteId); -- Gitblit v1.7.1