From 2ed6444f45d227e2acc6de65c3e8b582440fb83a Mon Sep 17 00:00:00 2001
From: luofl <1442745593@qq.com>
Date: 星期四, 06 三月 2025 09:20:40 +0800
Subject: [PATCH] 迭代版本:2.28

---
 ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/feignClient/AppUserClient.java |   85 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 83 insertions(+), 2 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/feignClient/AppUserClient.java b/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/feignClient/AppUserClient.java
index 43819bb..e128888 100644
--- a/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/feignClient/AppUserClient.java
+++ b/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/feignClient/AppUserClient.java
@@ -40,18 +40,99 @@
 	@GetMapping("/appUserShop/shop/{userId}")
 	R<List<AppUserShop>> getAppUserShop(@PathVariable("userId") Long userId);
 
+	@PostMapping("/appUserShop/addAppUserShop")
+	R<Void> addAppUserShop(@RequestBody AppUserShop appUserShop);
+
 	/**
 	 * 根据用户id获取用户的祖籍列表
 	 */
 	@GetMapping("/appletLogin/getUserAncestorList")
 	R<List<AppUser>> getUserAncestorList(@RequestParam("id") Long id);
 
-	@GetMapping("/appletLogin/getSuperiorLeader")
+	@PostMapping("/app-user/getSuperiorLeader")
 	R<AppUser> getSuperiorLeader(@RequestParam("id") Long id);
 
-	@GetMapping("/app-user/getTopUsers")
+	@PostMapping("/app-user/getTopUsers")
 	R<List<AppUser>> getTopUsers();
 
 	@PostMapping("/app-user/getVipCount")
 	R<Long> getVipCount(@RequestParam("userId")Long userId, @RequestParam("vipId") Integer vipId );
+
+
+	@PostMapping("/app-user/listByIds")
+	List<AppUser> listByIds(@RequestParam("ids") List<Long> list);
+
+	/**
+	 * 根据用户名称模糊搜索用户列表
+	 * @param name
+	 * @return
+	 */
+	@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
+	 * @return
+	 */
+	@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);
+	
+	
+	
+	/**
+	 * 检查会员等级变更
+	 * @param appUserId
+	 */
+	@PostMapping("/app-user/vipUpgrade")
+	void vipUpgrade(@RequestParam("appUserId") Long appUserId);
+	
+	
+	/**
+	 * 检查会员降级
+	 * @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);
+
 }

--
Gitblit v1.7.1