feat: 🚀 订阅功能
This commit is contained in:
61
src/api/interface/login.ts
Normal file
61
src/api/interface/login.ts
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user