luodangjia
2024-12-18 c7b0fc05b3b4b5acc79fcb846ee74987d89fddea
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java
@@ -503,6 +503,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);