2022-07-21 19:07:32 +08:00
|
|
|
declare namespace Eps {
|
|
|
|
interface BaseComm {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
2022-07-25 21:32:33 +08:00
|
|
|
/**
|
|
|
|
* personUpdate
|
|
|
|
*/
|
|
|
|
personUpdate(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* uploadMode
|
|
|
|
*/
|
|
|
|
uploadMode(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* permmenu
|
|
|
|
*/
|
|
|
|
permmenu(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* logout
|
|
|
|
*/
|
|
|
|
logout(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
personUpdate: string;
|
|
|
|
uploadMode: string;
|
|
|
|
permmenu: string;
|
|
|
|
logout: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
2022-07-25 21:32:33 +08:00
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
personUpdate: boolean;
|
|
|
|
uploadMode: boolean;
|
|
|
|
permmenu: boolean;
|
|
|
|
logout: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseOpen {
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
2022-07-25 21:32:33 +08:00
|
|
|
/**
|
|
|
|
* refreshToken
|
|
|
|
*/
|
|
|
|
refreshToken(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* captcha
|
|
|
|
*/
|
|
|
|
captcha(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* login
|
|
|
|
*/
|
|
|
|
login(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* html
|
|
|
|
*/
|
|
|
|
html(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* eps
|
|
|
|
*/
|
|
|
|
eps(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
refreshToken: string;
|
|
|
|
captcha: string;
|
|
|
|
login: string;
|
|
|
|
html: string;
|
|
|
|
eps: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
refreshToken: boolean;
|
|
|
|
captcha: boolean;
|
|
|
|
login: boolean;
|
|
|
|
html: boolean;
|
|
|
|
eps: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysDepartment {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* order
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
order(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
order: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
order: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysLog {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
2022-07-25 21:32:33 +08:00
|
|
|
list: any[];
|
2022-07-21 19:07:32 +08:00
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
2022-07-25 21:32:33 +08:00
|
|
|
/**
|
|
|
|
* setKeep
|
|
|
|
*/
|
|
|
|
setKeep(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* getKeep
|
|
|
|
*/
|
|
|
|
getKeep(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* clear
|
|
|
|
*/
|
|
|
|
clear(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
page: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
setKeep: string;
|
|
|
|
getKeep: string;
|
|
|
|
clear: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
page: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
setKeep: boolean;
|
|
|
|
getKeep: boolean;
|
|
|
|
clear: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysMenu {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysParam {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* html
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
html(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-07-25 21:32:33 +08:00
|
|
|
list: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
html: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
2022-07-25 21:32:33 +08:00
|
|
|
list: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
html: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysRole {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysUser {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* move
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
move(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
move: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
move: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DemoGoods {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
2022-07-25 21:32:33 +08:00
|
|
|
list: any[];
|
2022-07-21 19:07:32 +08:00
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DictInfo {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* data
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
data(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
data: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
data: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DictType {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface SpaceInfo {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface SpaceType {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface TaskInfo {
|
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* list
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
list(data?: any): Promise<any[]>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* page
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* info
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* update
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* delete
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* add
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* start
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
start(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* once
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
once(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* stop
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
stop(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
2022-07-25 21:32:33 +08:00
|
|
|
* log
|
2022-07-21 19:07:32 +08:00
|
|
|
*/
|
2022-07-25 21:32:33 +08:00
|
|
|
log(data?: any): Promise<any>;
|
2022-07-21 19:07:32 +08:00
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-07-25 21:32:33 +08:00
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
update: string;
|
2022-07-25 21:32:33 +08:00
|
|
|
delete: string;
|
|
|
|
add: string;
|
2022-07-21 19:07:32 +08:00
|
|
|
start: string;
|
|
|
|
once: string;
|
|
|
|
stop: string;
|
|
|
|
log: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
2022-07-25 21:32:33 +08:00
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
update: boolean;
|
2022-07-25 21:32:33 +08:00
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
2022-07-21 19:07:32 +08:00
|
|
|
start: boolean;
|
|
|
|
once: boolean;
|
|
|
|
stop: boolean;
|
|
|
|
log: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface ChatMessage {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface ChatSession {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Test {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: any[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
type Service = {
|
|
|
|
request(options: {
|
|
|
|
url: string;
|
|
|
|
method?: "POST" | "GET" | string;
|
|
|
|
data?: any;
|
|
|
|
params?: any;
|
|
|
|
proxy?: boolean;
|
|
|
|
[key: string]: any;
|
|
|
|
}): Promise<any>;
|
|
|
|
base: {
|
|
|
|
comm: BaseComm;
|
|
|
|
open: BaseOpen;
|
|
|
|
sys: {
|
|
|
|
department: BaseSysDepartment;
|
|
|
|
log: BaseSysLog;
|
|
|
|
menu: BaseSysMenu;
|
|
|
|
param: BaseSysParam;
|
|
|
|
role: BaseSysRole;
|
|
|
|
user: BaseSysUser;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
demo: { goods: DemoGoods };
|
|
|
|
dict: { info: DictInfo; type: DictType };
|
|
|
|
space: { info: SpaceInfo; type: SpaceType };
|
|
|
|
task: { info: TaskInfo };
|
|
|
|
chat: { message: ChatMessage; session: ChatSession };
|
|
|
|
test: Test;
|
|
|
|
};
|
|
|
|
}
|