22 lines
317 B
TypeScript
22 lines
317 B
TypeScript
|
declare global {
|
||
|
interface IAuthUser {
|
||
|
uid: number;
|
||
|
pv: number;
|
||
|
exp?: number;
|
||
|
iat?: number;
|
||
|
roles?: string[];
|
||
|
}
|
||
|
|
||
|
export interface IBaseResponse<T = any> {
|
||
|
message: string;
|
||
|
code: number;
|
||
|
data?: T;
|
||
|
}
|
||
|
|
||
|
export interface IListRespData<T = any> {
|
||
|
items: T[];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export {};
|