Compare commits
3 Commits
abc03976f6
...
38b49a9c7c
| Author | SHA1 | Date |
|---|---|---|
|
|
38b49a9c7c | |
|
|
0feb06ba0d | |
|
|
88f58d580f |
|
|
@ -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("删除")
|
||||
|
|
|
|||
Loading…
Reference in New Issue