Compare commits

..

3 Commits

1 changed files with 7 additions and 0 deletions

View File

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