| | |
| | | */ |
| | | @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<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}") |