feat(CorpInfoController): 添加查询当前登录租户企业详情接口

dev_visual_page
zhaokai 2026-07-28 11:20:52 +08:00
parent 88f58d580f
commit 0feb06ba0d
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class CorpInfoController {
return SingleResponse.of(corpInfoService.info(id)); return SingleResponse.of(corpInfoService.info(id));
} }
@ApiOperation("查询当前登录租户自身企业详情") @ApiOperation("查询当前登录租户自身企业详情")
@PostMapping("/info/self") @GetMapping("/info/self")
public SingleResponse<CorpInfoCO> getSelfInfo() { public SingleResponse<CorpInfoCO> getSelfInfo() {
SSOUser ssoUser = AuthContext.getCurrentUser(); SSOUser ssoUser = AuthContext.getCurrentUser();
Long tenantId = ssoUser.getTenantId(); Long tenantId = ssoUser.getTenantId();