mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 13:49:19 +08:00
refactor: 清理临时检查文件;用户信息增强与登录页优化
- 删除 INSPECTION.md / TODO.md 等临时检查文档 - 新增 UserCompanySummaryVO:登录用户返回所属公司摘要信息 - UserServiceImpl / UserVO:调整用户信息结构与缓存逻辑 - 前端:登录页布局优化 / 用户下拉组件更新
This commit is contained in:
@@ -32,7 +32,10 @@ export namespace AuthApi {
|
||||
/** 用户信息 */
|
||||
export interface UserInfo {
|
||||
id: number;
|
||||
companyId?: number;
|
||||
company?: {
|
||||
id: number;
|
||||
name: string;
|
||||
};
|
||||
departmentId?: number;
|
||||
positionId?: number;
|
||||
loginCode: string;
|
||||
|
||||
@@ -7,8 +7,11 @@ export namespace UserVO {
|
||||
export interface UserInfoVO {
|
||||
/** 用户编号 */
|
||||
id: number;
|
||||
/** 公司id */
|
||||
companyId?: number;
|
||||
/** 公司摘要(列表为上次所在公司;/user/info 为当前 token 公司) */
|
||||
company?: {
|
||||
id: number;
|
||||
name: string;
|
||||
};
|
||||
/** 部门id */
|
||||
departmentId?: number;
|
||||
/** 岗位id */
|
||||
|
||||
Reference in New Issue
Block a user