| | |
| | | */ |
| | | @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("/addNotice/{id}/{courseId}/{userId}/{price}") |
| | | @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}") |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/app-user/appleLogin") |
| | | R<AppLoginUser> appleLogin(@RequestParam("appleId") String appleId,@RequestParam("appleId") String device, |
| | | 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); |
| | | } |