@RestController(value="admin-user-thirdpart") @RequestMapping(value="/admin/user/thirdpart") public class UserThirdpartController extends BaseController
request, response| 构造器和说明 |
|---|
UserThirdpartController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResult<List<Map<String,Object>>> |
getThirdpartConfig()
获取当前用户的第三方登录配置列表。
|
ApiResult<String> |
saveThirdpartConfig(Map<String,Object> paramMap)
保存用户的第三方平台绑定信息。
|
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getNickname, getTenantId, getUserName, getUserNo, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, response, success, success, success, success, validateToken@GetMapping(value="/getThirdpartConfig") @Permission(value="system.user.thirdpart") public ApiResult<List<Map<String,Object>>> getThirdpartConfig() throws Exception
Exception - 当数据库查询或系统缓存访问出错时抛出异常。@PostMapping(value="/saveThirdpartConfig") @Transactional(rollbackFor=java.lang.Exception.class) @Permission(value="") public ApiResult<String> saveThirdpartConfig(@RequestBody Map<String,Object> paramMap) throws Exception
paramMap - 包含要保存的数据(如 open_id、type、code 等)。Exception - 数据库操作或其他业务逻辑错误时抛出。Copyright © 2026. All rights reserved.