2022-04-02 22:50:51 +08:00
|
|
|
declare interface Crud {
|
|
|
|
/**
|
|
|
|
* 新增
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 删除
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data: { ids?: number[] | string[]; [key: string]: any }): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data: { id?: number | string; [key: string]: any }): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 详情
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data: { id?: number | string; [key: string]: any }): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 全部
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 分页
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: {
|
|
|
|
page?: number | string;
|
|
|
|
size?: number | string;
|
|
|
|
[key: string]: any;
|
|
|
|
}): Promise<PageResponse>;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface PageResponse {
|
|
|
|
list: any[];
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface RequestOptions {
|
|
|
|
params?: any;
|
|
|
|
data?: any;
|
|
|
|
url: string;
|
|
|
|
method?: "GET" | "get" | "POST" | "post" | string;
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface BaseComm {
|
2022-06-24 11:06:40 +08:00
|
|
|
/**
|
|
|
|
* 修改个人信息
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
personUpdate(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 文件上传模式
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
uploadMode(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限与菜单
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
permmenu(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 个人信息
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
person(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 文件上传
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
upload(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 退出
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
logout(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* list
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* info
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* update
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* delete
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
personUpdate: string;
|
|
|
|
uploadMode: string;
|
|
|
|
permmenu: string;
|
|
|
|
person: string;
|
|
|
|
upload: string;
|
|
|
|
logout: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface BaseOpen {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 刷新token
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
refreshToken(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 验证码
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
captcha(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 登录
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
login(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 获得网页内容的参数值
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
html(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 实体信息与路径
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
eps(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* list
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* info
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* update
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* delete
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* add
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
refreshToken: string;
|
|
|
|
captcha: string;
|
|
|
|
login: string;
|
|
|
|
html: string;
|
|
|
|
eps: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface BaseSysDepartment {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 排序
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
order(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 列表查询
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
order: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
list: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
add: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface BaseSysLog {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 日志保存时间
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
setKeep(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 获得日志保存时间
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
getKeep(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 清理
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
clear(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 分页查询
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-06-24 11:06:40 +08:00
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* info
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* update
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* delete
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* add
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
setKeep: string;
|
|
|
|
getKeep: string;
|
|
|
|
clear: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
page: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
list: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
info: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface BaseSysMenu {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 列表查询
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
list: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
page: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface BaseSysParam {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 获得网页内容的参数值
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
html(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* list
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-10 17:33:59 +08:00
|
|
|
delete: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
update: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
html: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
info: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
list: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface BaseSysRole {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 列表查询
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
list: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface BaseSysUser {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 移动部门
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
move(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 列表查询
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
move: string;
|
|
|
|
info: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-22 15:28:39 +08:00
|
|
|
declare interface ChatChat {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
2022-06-24 11:06:40 +08:00
|
|
|
/**
|
|
|
|
* translate
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
translate(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* timeOut
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
timeOut(data?: any): Promise<any>;
|
2022-06-22 15:28:39 +08:00
|
|
|
/**
|
|
|
|
* getChatChannelUser
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
getChatChannelUser(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* checkingSetReply
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
checkingSetReply(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* changePrincipal
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
changePrincipal(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* getChatMsgPage
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
getChatMsgPage(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* leaveHelper
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
leaveHelper(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* addHelper
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
addHelper(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* setBlack
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
setBlack(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* setReply
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
setReply(data?: any): Promise<any>;
|
2022-06-24 11:06:40 +08:00
|
|
|
/**
|
|
|
|
* setLabel
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
setLabel(data?: any): Promise<any>;
|
2022-06-22 15:28:39 +08:00
|
|
|
/**
|
|
|
|
* setWork
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
setWork(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* setStar
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
setStar(data?: any): Promise<any>;
|
2022-06-24 11:06:40 +08:00
|
|
|
/**
|
|
|
|
* sendMsg
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
sendMsg(data?: any): Promise<any>;
|
2022-06-22 15:28:39 +08:00
|
|
|
/**
|
|
|
|
* inChat
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
inChat(data?: any): Promise<any>;
|
2022-06-24 11:06:40 +08:00
|
|
|
/**
|
|
|
|
* remark
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
remark(data?: any): Promise<any>;
|
2022-06-22 15:28:39 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
translate: string;
|
|
|
|
timeOut: string;
|
2022-06-22 15:28:39 +08:00
|
|
|
getChatChannelUser: string;
|
|
|
|
checkingSetReply: string;
|
|
|
|
changePrincipal: string;
|
|
|
|
getChatMsgPage: string;
|
|
|
|
leaveHelper: string;
|
|
|
|
addHelper: string;
|
|
|
|
setBlack: string;
|
|
|
|
setReply: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
setLabel: string;
|
2022-06-22 15:28:39 +08:00
|
|
|
setWork: string;
|
|
|
|
setStar: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
sendMsg: string;
|
2022-06-22 15:28:39 +08:00
|
|
|
inChat: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
remark: string;
|
2022-06-22 15:28:39 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface ChatMessage {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface ChatSession {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface DemoGoods {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 列表查询
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-10 17:33:59 +08:00
|
|
|
delete: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
update: string;
|
|
|
|
info: string;
|
|
|
|
page: string;
|
|
|
|
list: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-14 16:07:47 +08:00
|
|
|
declare interface FbMallAccount {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* publishGoods
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
publishGoods(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* refreshGoods
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
refreshGoods(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* republish
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
republish(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* addMore
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
addMore(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* close
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
close(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* open
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
open(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* getAccountGoods
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
getAccountGoods(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
publishGoods: string;
|
|
|
|
refreshGoods: string;
|
|
|
|
republish: string;
|
|
|
|
addMore: string;
|
|
|
|
close: string;
|
|
|
|
open: string;
|
|
|
|
getAccountGoods: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallArea {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallAreaItem {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* order
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
order(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
order: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallGoods {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallGoodsItem {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* readAll
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
readAll(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
readAll: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallPhoto {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallPhotoItem {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* order
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
order(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
order: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallPromote {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* getLog
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
getLog(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
getLog: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallProxy {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallServer {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallThesaurus {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* order
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
order(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
order: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface FbMallThesaurusItem {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* readAll
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
readAll(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
readAll: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface MultimediaMultimediaData {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* deleteAllPermission
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
deleteAllPermission(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
deleteAllPermission: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface MultimediaMultimediaItem {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* updateeAllPermission
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
updateeAllPermission(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* deleteAllPermission
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
deleteAllPermission(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* order
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
order(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
updateeAllPermission: string;
|
|
|
|
deleteAllPermission: string;
|
|
|
|
order: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface ShopReply {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface SpaceInfo {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 列表查询
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
list: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
page: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-14 16:07:47 +08:00
|
|
|
declare interface SpaceType {
|
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-06-14 16:07:47 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-06-14 16:07:47 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-06-14 16:07:47 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-06-14 16:07:47 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-06-14 16:07:47 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 列表查询
|
2022-06-14 16:07:47 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-06-14 16:07:47 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-06-14 16:07:47 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-06-14 16:07:47 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-06-14 16:07:47 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-24 11:06:40 +08:00
|
|
|
delete: string;
|
|
|
|
update: string;
|
|
|
|
info: string;
|
2022-06-14 16:07:47 +08:00
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysArea {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysChannel {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysCountry {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysExpress {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysGoods {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysGoodsItem {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* order
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
order(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
order: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysLabel {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysShop {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* readAll
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
readAll(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
readAll: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysShop_warehouse {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysSku {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* synchronize
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
synchronize(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
synchronize: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysStock {
|
|
|
|
/**
|
|
|
|
* list
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
list(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* info
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* update
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* add
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* synchronize
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
synchronize(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
synchronize: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface SysWarehouse {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* list
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* info
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* update
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* add
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface TaskInfo {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 删除
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 修改
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 开始
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
start(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 执行一次
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
once(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 停止
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
stop(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 单个信息
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
info(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 分页查询
|
|
|
|
* @returns Promise<PageResponse>
|
2022-06-10 17:33:59 +08:00
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 日志
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
log(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* 新增
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
2022-06-24 11:06:40 +08:00
|
|
|
* list
|
2022-06-10 17:33:59 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-24 11:06:40 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-10 17:33:59 +08:00
|
|
|
delete: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
update: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
start: string;
|
|
|
|
once: string;
|
|
|
|
stop: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
info: string;
|
|
|
|
page: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
log: string;
|
2022-06-24 11:06:40 +08:00
|
|
|
add: string;
|
|
|
|
list: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-05-18 15:09:13 +08:00
|
|
|
declare interface Test {
|
2022-05-11 16:38:45 +08:00
|
|
|
/**
|
2022-05-18 15:09:13 +08:00
|
|
|
* list
|
2022-05-11 16:38:45 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-05-18 15:09:13 +08:00
|
|
|
list(data?: any): Promise<any>;
|
2022-05-11 16:38:45 +08:00
|
|
|
/**
|
2022-05-18 15:09:13 +08:00
|
|
|
* page
|
|
|
|
* @returns Promise<PageResponse>
|
2022-05-11 16:38:45 +08:00
|
|
|
*/
|
2022-05-18 15:09:13 +08:00
|
|
|
page(data?: any): Promise<PageResponse>;
|
2022-05-11 16:38:45 +08:00
|
|
|
/**
|
2022-05-18 15:09:13 +08:00
|
|
|
* info
|
2022-05-11 16:38:45 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-05-18 15:09:13 +08:00
|
|
|
* update
|
2022-05-11 16:38:45 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-05-18 15:09:13 +08:00
|
|
|
update(data?: any): Promise<any>;
|
2022-05-11 16:38:45 +08:00
|
|
|
/**
|
2022-05-18 15:09:13 +08:00
|
|
|
* delete
|
|
|
|
* @returns Promise<any>
|
2022-05-11 16:38:45 +08:00
|
|
|
*/
|
2022-05-18 15:09:13 +08:00
|
|
|
delete(data?: any): Promise<any>;
|
2022-05-11 16:38:45 +08:00
|
|
|
/**
|
2022-05-18 15:09:13 +08:00
|
|
|
* add
|
2022-05-11 16:38:45 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
2022-05-18 15:09:13 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-05-11 16:38:45 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-04-02 22:50:51 +08:00
|
|
|
declare type Service = {
|
|
|
|
request(data: RequestOptions): Promise<any>;
|
|
|
|
base: {
|
|
|
|
comm: BaseComm;
|
|
|
|
open: BaseOpen;
|
|
|
|
sys: {
|
|
|
|
department: BaseSysDepartment;
|
|
|
|
log: BaseSysLog;
|
|
|
|
menu: BaseSysMenu;
|
|
|
|
param: BaseSysParam;
|
|
|
|
role: BaseSysRole;
|
|
|
|
user: BaseSysUser;
|
|
|
|
};
|
|
|
|
};
|
2022-06-22 15:28:39 +08:00
|
|
|
chat: { chat: ChatChat; message: ChatMessage; session: ChatSession };
|
2022-04-02 22:50:51 +08:00
|
|
|
demo: { goods: DemoGoods };
|
2022-06-14 16:07:47 +08:00
|
|
|
fbMall: {
|
|
|
|
account: FbMallAccount;
|
|
|
|
area: FbMallArea;
|
|
|
|
areaItem: FbMallAreaItem;
|
|
|
|
goods: FbMallGoods;
|
|
|
|
goodsItem: FbMallGoodsItem;
|
|
|
|
photo: FbMallPhoto;
|
|
|
|
photoItem: FbMallPhotoItem;
|
|
|
|
promote: FbMallPromote;
|
|
|
|
proxy: FbMallProxy;
|
|
|
|
server: FbMallServer;
|
|
|
|
thesaurus: FbMallThesaurus;
|
|
|
|
thesaurusItem: FbMallThesaurusItem;
|
|
|
|
};
|
|
|
|
multimedia: {
|
|
|
|
multimediaData: MultimediaMultimediaData;
|
|
|
|
multimediaItem: MultimediaMultimediaItem;
|
|
|
|
};
|
|
|
|
shop: { reply: ShopReply };
|
2022-04-02 22:50:51 +08:00
|
|
|
space: { info: SpaceInfo; type: SpaceType };
|
2022-06-14 16:07:47 +08:00
|
|
|
sys: {
|
|
|
|
area: SysArea;
|
|
|
|
channel: SysChannel;
|
|
|
|
country: SysCountry;
|
|
|
|
express: SysExpress;
|
|
|
|
goods: SysGoods;
|
|
|
|
goodsItem: SysGoodsItem;
|
|
|
|
label: SysLabel;
|
|
|
|
shop: SysShop;
|
|
|
|
shop_warehouse: SysShop_warehouse;
|
|
|
|
sku: SysSku;
|
|
|
|
stock: SysStock;
|
|
|
|
warehouse: SysWarehouse;
|
|
|
|
};
|
2022-04-02 22:50:51 +08:00
|
|
|
task: { info: TaskInfo };
|
2022-05-18 15:09:13 +08:00
|
|
|
test: Test;
|
2022-04-02 22:50:51 +08:00
|
|
|
};
|