1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

不重要的一些小调整(主要是部分Api权限的调整以及Api文档调整)

This commit is contained in:
2022-04-15 21:56:37 +08:00
parent 5c1a935697
commit 9e11207438
7 changed files with 144 additions and 50 deletions

View File

@@ -80,7 +80,7 @@ public class ThirdPartyController extends BaseController {
}
}
@ApiOperation(value = "获取用户已绑定的第三方平台", notes = "传入当前登录用户 token ,返回已绑定的第三方平台")
@ApiOperation(value = "【用户|管理员】获取用户已绑定的第三方平台", notes = "传入当前登录用户 token ,返回已绑定的第三方平台")
@RequestMapping(value = "getBindingStatus", method = {RequestMethod.GET})
@ResponseBody
public CommonReturnType getBindingStatus(@RequestParam(value = "token", required = false) String token) throws BusinessException, InvocationTargetException, IllegalAccessException {
@@ -92,7 +92,7 @@ public class ThirdPartyController extends BaseController {
return CommonReturnType.create(bindingPlatformList);
}
@ApiOperation(value = "取消第三方平台绑定", notes = "传入当前登录用户 token 和平台 platform (不区分大小写),返回 bool 值true 为取消绑定成功")
@ApiOperation(value = "【用户|管理员】取消第三方平台绑定", notes = "传入当前登录用户 token 和平台 platform (不区分大小写),返回 bool 值true 为取消绑定成功")
@RequestMapping(value = "withdrawThirdPartyBings", method = {RequestMethod.POST}, consumes = {CONTENT_TYPE_FORMED})
@ResponseBody
public CommonReturnType unbindThirdPartAccount(@RequestParam(value = "token", required = true) String token,