| | |
| | | */ |
| | | @FeignClient(contextId = "remoteAppUserService", value = ServiceNameConstants.APP_USER_SERVICE, fallbackFactory = RemoteAppUserFallbackFactory.class) |
| | | public interface RemoteAppUserService { |
| | | @GetMapping("/client/app-user/getUserById/{id}") |
| | | public R<AppUser> getUserById(@PathVariable("id") Long id); |
| | | @PostMapping("/client/app-user/saveQrCode") |
| | | public R saveQrCode(@RequestBody AppUser appUser); |
| | | |
| | | @PostMapping("/client/app-user-tree/getUserEnergy/{id}") |
| | | public R getUserEnergy(@PathVariable("id")Long id); |
| | | @PostMapping("/client/app-user/getUserBlackList/{appUserId}") |
| | | public R<List<Long>> getUserBlackList(@PathVariable("appUserId") Long appUserId); |
| | | @GetMapping("/client/app-user/deleteBalance/{id}/{amount}") |
| | | public R deleteBalance(@PathVariable("id")String id,@PathVariable("amount")String amount); |
| | | @PostMapping("/user/app-user-viewing-history/getCourseChapterHistoryState/{id}/{chapterId}") |
| | | public R<Integer> getCourseChapterHistoryState(@PathVariable("id") Long id,@PathVariable("chapterId") Long chapterId); |
| | | @GetMapping("/client/user/notice-record/addNotice/{id}/{courseId}/{userId}/{price}") |
| | | public R addNotice(@PathVariable("id")String id,@PathVariable("courseId")String courseId |
| | | ,@PathVariable("userId")String userId,@PathVariable("price")String price); |
| | | @GetMapping("/client/app-user/getUserByPhone/{phone}") |
| | | public R<AppUser> getUserByPhone(@PathVariable("phone")String phone); |
| | | @PostMapping("/user/app-user-viewing-history/getMeditationHistoryCount/{id}") |
| | | public R<Long> getMeditationHistoryCount(@PathVariable("id") Long id); |
| | | @PostMapping("/user/app-user-viewing-history/getMeditationHistoryCountAll") |
| | | public R<List<AppUserViewingHistory>> getMeditationHistoryCountAll(); |
| | | @PostMapping("/user/app-user-viewing-history/getCourseHistoryCount/{id}") |
| | | public R<Long> getCourseHistoryCount(@PathVariable("id") Long id); |
| | | @PostMapping("/user/app-user-viewing-history/getCourseChapterHistoryCount/{id}") |
| | | public R<Long> getCourseChapterHistoryCount(@PathVariable("id") Long id); |
| | | |
| | | @PostMapping("/client/tag/queryTagList/{ids}") |
| | | public R<List<String>> queryTagList(@PathVariable("ids") String ids); |
| | | @PostMapping("/user/app-user-viewing-history/getCourseHistoryByUserId/{id}") |
| | | public R<List<Long>> getCourseHistoryByUserId(@PathVariable("id") Long id); |
| | | @GetMapping("/client/app-user/getAllUserList") |
| | | public R<List<AppUser>> getAllUserList(); |
| | | @GetMapping("/client/app-user/addBalance/{id}/{money}") |
| | | public R addBalance(@PathVariable("id")Long id,@PathVariable("money") BigDecimal money); |
| | | @GetMapping("/client/app-user/addVipExpireTime/{id}/{type}") |
| | |
| | | */ |
| | | @PostMapping("/client/app-user/getAppUserByName/{name}") |
| | | public R<List<Long>> getAppUserByName(@PathVariable("name")String name); |
| | | @PostMapping("/getAppUserByNameOrPhone/{name}") |
| | | @PostMapping("/client/app-user/getAppUserByNameOrPhone/{name}") |
| | | public R<List<Long>> getAppUserByNameOrPhone(@PathVariable("name")String name); |
| | | @PostMapping("/client/tag/queryTag/{name}") |
| | | public R<List<Tag>> queryTag(@PathVariable("name") String name); |
| | |
| | | */ |
| | | @PostMapping("/inner/app-user/getUserByCondition") |
| | | R<AppUser> getUserByCondition(@RequestBody AppUserDTO dto, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | @PostMapping("/inner/app-user/getUserByCondition1") |
| | | R<AppUser> getUserByCondition1(@RequestBody AppUserDTO dto, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/app-user/appleLogin") |
| | | R<AppLoginUser> appleLogin(@RequestParam("appleId") String appleId, |
| | | R<AppLoginUser> appleLogin(@RequestParam("appleId") String appleId,@RequestParam("device") String device, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | |
| | | /** |
| | |
| | | @PostMapping("/inner/app-user/getAppUserList") |
| | | R<List<AppUser>> getAppUserList(@RequestBody Collection<Long> appUserIdSet, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | @GetMapping("/client/app-user-course/deleteAppUserCourse/{courseId}/{appUserId}") |
| | | void deleteAppUserCourse(@PathVariable("courseId") Long courseId,@PathVariable("appUserId") Long appUserId); |
| | | @PostMapping("/client/app-user/subVipExpireTime/{appUserId}/{type}") |
| | | public void subVipExpireTime(@PathVariable("appUserId") Long appUserId,@PathVariable("type") Integer type); |
| | | } |