| | |
| | | @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 ); |
| | | |
| | | |
| | | @GetMapping("/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); |
| | | |
| | | /** |
| | | * 根据用户电话模糊搜索用户列表 |
| | | * @param phone |
| | | * @return |
| | | */ |
| | | @PostMapping("/app-user/getAppUserByPhone") |
| | | R<List<AppUser>> getAppUserByPhone(@RequestParam("phone") String phone); |
| | | |
| | | |
| | | @PostMapping("/app-user/getAppUserByPhone1") |
| | | R<AppUser> getAppUserByPhone1(@RequestParam("phone") String phone); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 检查会员等级变更 |
| | | * @param appUserId |
| | | */ |
| | | @PostMapping("/app-user/vipUpgrade") |
| | | void vipUpgrade(@RequestParam("appUserId") Long appUserId); |
| | | } |