| | |
| | | @PostMapping("/base/tStory/updateState/{id}/{state}") |
| | | R updateState1(@PathVariable("id") Integer id, @PathVariable("state") Integer state); |
| | | |
| | | /** |
| | | * 获取用户信息 |
| | | * |
| | | * @return 用户信息 |
| | | */ |
| | | @GetMapping("/base/user/userInfo") |
| | | @ApiOperation(value = "用户详情", tags = {"用户详情"}) |
| | | R<TUser> userInfo(); |
| | | @ApiOperation(value = "用户详情", tags = {"学习端-用户详情"}) |
| | | R<UserPersonalCenterVO> userInfo(); |
| | | @GetMapping("/base/user/userInfoParent") |
| | | @ApiOperation(value = "用户详情", tags = {"家长端-用户详情"}) |
| | | R<TUser> userInfoParent(); |
| | | |
| | | /** |
| | | * 生成积分明细-用于远程调用 |
| | |
| | | */ |
| | | @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); |
| | | |
| | | /** |
| | | * 生成积分明细-用于远程调用 |
| | | * |
| | | * @param integral 积分变动信息 |
| | | * @param method 变动源 |
| | | * @return 操作结果 |
| | | */ |
| | | @GetMapping("/base/study/addIntegralDetail1") |
| | | R<Boolean> addIntegralDetail1(@RequestParam("integral") String integral, @RequestParam("method") String method); |
| | | |
| | | /** |
| | | * 用户积分变动(增加或减少)-用于远程调用 |
| | | * |
| | | * @param integral 积分变动信息 |
| | | * @param method 变动源 |
| | | * @return 操作结果 |
| | | */ |
| | | @GetMapping("/base/study/exchangeIntegral1") |
| | | @ApiOperation(value = "用户积分变动", tags = {"用户积分变动"}) |
| | | R<Boolean> exchangeIntegral1(@RequestParam("integral") Integer integral, @RequestParam("method") String method); |
| | | |
| | | } |