| | |
| | | @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(); |
| | | |
| | | /** |
| | | * 生成积分明细-用于远程调用 |
| | |
| | | @ApiOperation(value = "用户积分变动", tags = {"用户积分变动"}) |
| | | R<Boolean> exchangeIntegral(@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); |
| | | |
| | | } |