| | |
| | | */ |
| | | @FeignClient(contextId = "remoteAppUserService", value = ServiceNameConstants.APP_USER_SERVICE, fallbackFactory = RemoteAppUserFallbackFactory.class) |
| | | public interface RemoteAppUserService { |
| | | @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}") |
| | |
| | | @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); |
| | | |
| | | /** |
| | | * APP用户注册 |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/app-user/appleLogin") |
| | | R<AppLoginUser> appleLogin(@RequestParam("appleId") String appleId, |
| | | R<AppLoginUser> appleLogin(@RequestParam("appleId") String appleId,@RequestParam("appleId") String device, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | |
| | | /** |