2023-03-08 15:14:43 +08:00
|
|
|
declare namespace Eps {
|
2023-04-17 02:25:38 +08:00
|
|
|
interface AiLimitEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* 任意键值
|
2023-03-09 12:16:15 +08:00
|
|
|
*/
|
2023-04-17 02:25:38 +08:00
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface AiOrderEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* 任意键值
|
2023-03-09 12:16:15 +08:00
|
|
|
*/
|
2023-04-17 02:25:38 +08:00
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface AiVipEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* 任意键值
|
2023-03-09 12:16:15 +08:00
|
|
|
*/
|
2023-04-17 02:25:38 +08:00
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysDepartmentEntity {
|
2023-03-08 15:14:43 +08:00
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysLogEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysMenuEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysParamEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysRoleEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysUserEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface CloudDBEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface CloudFuncInfoEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface CloudFuncLogEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DemoGoodsEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DictInfoEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DictTypeEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface IotDeviceEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface IotMessageEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface RecycleDataEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface SpaceInfoEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface SpaceTypeEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface TaskInfoEntity {
|
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
2023-04-17 02:25:38 +08:00
|
|
|
|
|
|
|
interface UserInfoEntity {
|
2023-04-03 19:02:44 +08:00
|
|
|
/**
|
|
|
|
* 任意键值
|
|
|
|
*/
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
2023-03-08 15:14:43 +08:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
2023-04-17 02:25:38 +08:00
|
|
|
interface AiLimit {
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<AiLimitEntity>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<AiLimitEntity[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: AiLimitEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface AiOrder {
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<AiOrderEntity>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<AiOrderEntity[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: AiOrderEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface AiVip {
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<AiVipEntity>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<AiVipEntity[]>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: AiVipEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
2023-03-08 15:14:43 +08:00
|
|
|
interface BaseComm {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* personUpdate
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
personUpdate(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* uploadMode
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
uploadMode(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* permmenu
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
permmenu(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* person
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
person(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* upload
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
upload(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* logout
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
logout(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 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: {
|
|
|
|
personUpdate: string;
|
|
|
|
uploadMode: string;
|
|
|
|
permmenu: string;
|
|
|
|
person: string;
|
|
|
|
upload: string;
|
|
|
|
logout: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
personUpdate: boolean;
|
|
|
|
uploadMode: boolean;
|
|
|
|
permmenu: boolean;
|
|
|
|
person: boolean;
|
|
|
|
upload: boolean;
|
|
|
|
logout: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseOpen {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* refreshToken
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
refreshToken(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* captcha
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
captcha(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* login
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
login(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* html
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
html(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* eps
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
eps(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 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: {
|
|
|
|
refreshToken: string;
|
|
|
|
captcha: string;
|
|
|
|
login: string;
|
|
|
|
html: string;
|
|
|
|
eps: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
refreshToken: boolean;
|
|
|
|
captcha: boolean;
|
|
|
|
login: boolean;
|
|
|
|
html: boolean;
|
|
|
|
eps: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysDepartment {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* order
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
order(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<BaseSysDepartmentEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: BaseSysDepartmentEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<BaseSysDepartmentEntity>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
order: string;
|
|
|
|
list: string;
|
|
|
|
add: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
order: boolean;
|
|
|
|
list: boolean;
|
|
|
|
add: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysLog {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* setKeep
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
setKeep(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* getKeep
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
getKeep(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* clear
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
clear(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: BaseSysLogEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<BaseSysLogEntity[]>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<BaseSysLogEntity>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
setKeep: string;
|
|
|
|
getKeep: string;
|
|
|
|
clear: string;
|
|
|
|
page: string;
|
|
|
|
list: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
setKeep: boolean;
|
|
|
|
getKeep: boolean;
|
|
|
|
clear: boolean;
|
|
|
|
page: boolean;
|
|
|
|
list: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysMenu {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* create
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
create(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* parse
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
parse(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<BaseSysMenuEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<BaseSysMenuEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: BaseSysMenuEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
create: string;
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
parse: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
create: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
parse: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysParam {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* html
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
html(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<BaseSysParamEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: BaseSysParamEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<BaseSysParamEntity[]>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
html: string;
|
|
|
|
info: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
list: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
html: boolean;
|
|
|
|
info: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
list: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysRole {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<BaseSysRoleEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<BaseSysRoleEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: BaseSysRoleEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BaseSysUser {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* move
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
move(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<BaseSysUserEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<BaseSysUserEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: BaseSysUserEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
move: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
move: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface CloudDb {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* initEntity
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
initEntity(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* data
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
data(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<CloudDBEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<CloudDBEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: CloudDBEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
initEntity: string;
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
data: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
initEntity: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
data: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface CloudFuncInfo {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* invoke
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
invoke(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<CloudFuncInfoEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<CloudFuncInfoEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: CloudFuncInfoEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
invoke: string;
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
invoke: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface CloudFuncLog {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<CloudFuncLogEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<CloudFuncLogEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: CloudFuncLogEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DemoGoods {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<DemoGoodsEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<DemoGoodsEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: DemoGoodsEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DictInfo {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* data
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
data(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<DictInfoEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<DictInfoEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: DictInfoEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
data: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
data: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface DictType {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<DictTypeEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<DictTypeEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: DictTypeEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface IotDevice {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<IotDeviceEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<IotDeviceEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: IotDeviceEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface IotMessage {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: IotMessageEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<IotMessageEntity[]>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<IotMessageEntity>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
page: string;
|
|
|
|
list: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
page: boolean;
|
|
|
|
list: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface IotMqtt {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* publish
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
publish(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* config
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
config(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 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: {
|
|
|
|
publish: string;
|
|
|
|
config: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
publish: boolean;
|
|
|
|
config: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
info: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface RecycleData {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* restore
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
restore(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<RecycleDataEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: RecycleDataEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<RecycleDataEntity[]>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
restore: string;
|
|
|
|
info: string;
|
|
|
|
page: string;
|
|
|
|
list: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
restore: boolean;
|
|
|
|
info: boolean;
|
|
|
|
page: boolean;
|
|
|
|
list: boolean;
|
|
|
|
update: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface SpaceInfo {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* getConfig
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
getConfig(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<SpaceInfoEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<SpaceInfoEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: SpaceInfoEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
getConfig: string;
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
getConfig: boolean;
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface SpaceType {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<SpaceTypeEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
list(data?: any): Promise<SpaceTypeEntity[]>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: SpaceTypeEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
|
|
|
interface TaskInfo {
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* start
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
start(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* once
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
once(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* stop
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
stop(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
info(data?: any): Promise<TaskInfoEntity>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
list: TaskInfoEntity[];
|
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* log
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
log(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-03-08 15:14:43 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<TaskInfoEntity[]>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
start: string;
|
|
|
|
once: string;
|
|
|
|
stop: string;
|
|
|
|
info: string;
|
|
|
|
page: string;
|
|
|
|
log: string;
|
|
|
|
add: string;
|
|
|
|
list: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
start: boolean;
|
|
|
|
once: boolean;
|
|
|
|
stop: boolean;
|
|
|
|
info: boolean;
|
|
|
|
page: boolean;
|
|
|
|
log: boolean;
|
|
|
|
add: boolean;
|
|
|
|
list: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
2023-04-17 02:25:38 +08:00
|
|
|
interface UserInfo {
|
2023-04-03 19:02:44 +08:00
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* delete
|
2023-04-03 19:02:44 +08:00
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* update
|
2023-04-03 19:02:44 +08:00
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* info
|
2023-04-03 19:02:44 +08:00
|
|
|
*/
|
2023-04-17 02:25:38 +08:00
|
|
|
info(data?: any): Promise<UserInfoEntity>;
|
2023-04-03 19:02:44 +08:00
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* list
|
2023-04-03 19:02:44 +08:00
|
|
|
*/
|
2023-04-17 02:25:38 +08:00
|
|
|
list(data?: any): Promise<UserInfoEntity[]>;
|
2023-04-03 19:02:44 +08:00
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* page
|
2023-04-03 19:02:44 +08:00
|
|
|
*/
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
pagination: { size: number; page: number; total: number };
|
2023-04-17 02:25:38 +08:00
|
|
|
list: UserInfoEntity[];
|
2023-04-03 19:02:44 +08:00
|
|
|
[key: string]: any;
|
|
|
|
}>;
|
|
|
|
/**
|
2023-04-17 02:25:38 +08:00
|
|
|
* add
|
2023-04-03 19:02:44 +08:00
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限标识
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 权限状态
|
|
|
|
*/
|
|
|
|
_permission: {
|
|
|
|
delete: boolean;
|
|
|
|
update: boolean;
|
|
|
|
info: boolean;
|
|
|
|
list: boolean;
|
|
|
|
page: boolean;
|
|
|
|
add: boolean;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 请求
|
|
|
|
*/
|
|
|
|
request: Service["request"];
|
|
|
|
}
|
|
|
|
|
2023-03-08 15:14:43 +08:00
|
|
|
type Service = {
|
|
|
|
request(options?: {
|
|
|
|
url: string;
|
|
|
|
method?: "POST" | "GET" | string;
|
|
|
|
data?: any;
|
|
|
|
params?: any;
|
|
|
|
proxy?: boolean;
|
|
|
|
[key: string]: any;
|
|
|
|
}): Promise<any>;
|
|
|
|
chat: { message: ChatMessage; session: ChatSession };
|
|
|
|
test: Test;
|
2023-04-17 02:25:38 +08:00
|
|
|
ai: { limit: AiLimit; order: AiOrder; vip: AiVip };
|
2023-03-08 15:14:43 +08:00
|
|
|
base: {
|
|
|
|
comm: BaseComm;
|
|
|
|
open: BaseOpen;
|
|
|
|
sys: {
|
|
|
|
department: BaseSysDepartment;
|
|
|
|
log: BaseSysLog;
|
|
|
|
menu: BaseSysMenu;
|
|
|
|
param: BaseSysParam;
|
|
|
|
role: BaseSysRole;
|
|
|
|
user: BaseSysUser;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
cloud: { db: CloudDb; func: { info: CloudFuncInfo; log: CloudFuncLog } };
|
|
|
|
demo: { goods: DemoGoods };
|
|
|
|
dict: { info: DictInfo; type: DictType };
|
|
|
|
iot: { device: IotDevice; message: IotMessage; mqtt: IotMqtt };
|
|
|
|
recycle: { data: RecycleData };
|
|
|
|
space: { info: SpaceInfo; type: SpaceType };
|
|
|
|
task: { info: TaskInfo };
|
2023-04-17 02:25:38 +08:00
|
|
|
user: { info: UserInfo };
|
2023-03-08 15:14:43 +08:00
|
|
|
};
|
|
|
|
}
|