| | |
| | | |
| | | @FeignClient(contextId = "studyClient", value = ServiceNameConstants.STUDY_SERVICE, fallbackFactory = StudyFallbackFactory.class) |
| | | public interface StudyClient { |
| | | |
| | | @PostMapping("/base/study/recordManagement/{id}") |
| | | R<StudyRecordResultVO> recordManagement(@PathVariable("id")Integer id); |
| | | |
| | | @PostMapping("/base/user/getUserById/{id}") |
| | | R<TUser> getUserById(@PathVariable("id") Integer id); |
| | |
| | | */ |
| | | @GetMapping("/base/study/addIntegralDetail") |
| | | R<Boolean> addIntegralDetail(@RequestParam("integral") String integral, @RequestParam("method") String method); |
| | | @GetMapping("/base/study/addIntegralDetailParent") |
| | | R<Boolean> addIntegralDetailParent(@RequestParam("integral") String integral, @RequestParam("method") String method); |
| | | |
| | | /** |
| | | * 用户积分变动(增加或减少)-用于远程调用 |
| | |
| | | @GetMapping("/base/study/exchangeIntegral") |
| | | @ApiOperation(value = "用户积分变动", tags = {"用户积分变动"}) |
| | | R<Boolean> exchangeIntegral(@RequestParam("integral") Integer integral, @RequestParam("method") String method); |
| | | @GetMapping("/base/study/exchangeIntegralParent") |
| | | @ApiOperation(value = "用户积分变动", tags = {"用户积分变动"}) |
| | | R<Boolean> exchangeIntegralParent(@RequestParam("integral") Integer integral, @RequestParam("method") String method); |
| | | |
| | | /** |
| | | * 生成积分明细-用于远程调用 |