Merge branch 'dev_visual_page' into dev
commit
ef0dddf572
|
|
@ -90,6 +90,13 @@ public class CorpInfoController {
|
|||
}
|
||||
return SingleResponse.of(corpInfoService.info(id));
|
||||
}
|
||||
@ApiOperation("查询当前登录租户自身企业详情")
|
||||
@PostMapping("/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