| | |
| | | */ |
| | | @FeignClient(contextId = "remoteAppUserService", value = ServiceNameConstants.APP_USER_SERVICE, fallbackFactory = RemoteAppUserFallbackFactory.class) |
| | | public interface RemoteAppUserService { |
| | | @PostMapping("/user/app-user-viewing-history/getMeditationHistoryCount/{id}") |
| | | public R<Long> getMeditationHistoryCount(@PathVariable("id") Long id); |
| | | @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); |