feat: 🚀 订阅功能

This commit is contained in:
2025-09-16 16:38:30 +08:00
parent eb1b66a066
commit d3a3ef2911
456 changed files with 40544 additions and 124 deletions

View File

@@ -0,0 +1,61 @@
// 登录模块
export interface Dept {
id: number;
deptCode: string;
deptName: string;
managerId: null;
}
export namespace Login {
//登录要传的参数
export interface ReqLoginCode {
code: string;
}
//登录返回的参数
interface Dept {
id: number;
deptCode: string;
deptName: string;
managerId: null;
}
export interface ResLogin {
isSuccess: boolean;
message: string;
status: number;
data: {
accessToken: {
token: string;
phpToken: string;
tokenType: string;
refreshToken: string;
expired: string;
};
signedIn: boolean;
userInfo: {
seesionId: string;
ucId: number;
depts: Dept[];
staffId: number;
staff_code: string;
business_code: null;
avatar: null;
closed: number;
createdAt: string;
email: null;
mobile: string;
nickname: string;
roleId: string;
signinAt: string;
updatedAt: string;
companyId: number;
companyName: string;
orgId: number;
supplierId: null;
supplierName: null;
customerId: null;
customerName: null;
identity: number;
};
};
}
}