luofl
2025-02-20 e4eaabefaaa2ca95f809c47a11712c3bee56e1b5
ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/feignClient/AppUserClient.java
@@ -59,7 +59,7 @@
   R<Long> getVipCount(@RequestParam("userId")Long userId, @RequestParam("vipId") Integer vipId );
   @GetMapping("/app-user/listByIds")
   @PostMapping("/app-user/listByIds")
   List<AppUser> listByIds(@RequestParam("ids") List<Long> list);
   /**
@@ -70,6 +70,9 @@
   @PostMapping("/app-user/getAppUserByName")
   R<List<AppUser>> getAppUserByName(@RequestParam("name") String name);
   @GetMapping("/app-user/getAppUserByNameNoFilter")
   public R<List<AppUser>> getAppUserByNameNoFilter(@RequestParam("name") String name);
   /**
    * 根据用户电话模糊搜索用户列表
    * @param phone
@@ -78,9 +81,25 @@
   @PostMapping("/app-user/getAppUserByPhone")
   R<List<AppUser>> getAppUserByPhone(@RequestParam("phone") String phone);
   /**
    * 根据用户电话模糊搜索用户列表(包含被删除的用户)
    * @param phone
    * @return
    */
   @GetMapping("/app-user/getAppUserByPhoneNoFilter")
   public R<List<AppUser>> getAppUserByPhoneNoFilter(@RequestParam("phone") String phone);
   @PostMapping("/app-user/getAppUserByPhone1")
   R<AppUser> getAppUserByPhone1(@RequestParam("phone") String phone);
   /**
    * 获得指定用户的下级用户
    * @param userId
    * @return
    */
   @PostMapping("/app-user/setLowerUserShop")
   R<List<AppUser>>  setLowerUserShop(@RequestParam("userId") Long userId,@RequestParam("shopId") Integer shopId);
   
   
   
@@ -93,8 +112,26 @@
   
   
   /**
    * 检查会员降级
    * @param appUserId
    */
   @PostMapping("/app-user/vipDemotion")
   void vipDemotion(@RequestParam("appUserId") Long appUserId);
   /**
    * 用户降级检测
    */
   @PostMapping("/app-user/demotionDetection")
   void demotionDetection();
   /**
    * 清空绑定门店的用户门店数据
    * @param shopId
    * @return
    */
   @PostMapping("/app-user/clearBindShop")
   R clearBindShop(@RequestParam("shopId") Integer shopId);
}