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-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>;
|
|
|
|
/**
|
|
|
|
* personUpdate
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
personUpdate(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* uploadMode
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
uploadMode(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* permmenu
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
permmenu(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* logout
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
logout(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
personUpdate: string;
|
|
|
|
uploadMode: string;
|
|
|
|
permmenu: string;
|
|
|
|
logout: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface BaseOpen {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 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-10 17:33:59 +08:00
|
|
|
* refreshToken
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
refreshToken(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* captcha
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
captcha(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* login
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
login(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* html
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
html(data?: any): Promise<any>;
|
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* eps
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
eps(data?: any): Promise<any>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
refreshToken: string;
|
|
|
|
captcha: string;
|
|
|
|
login: string;
|
|
|
|
html: string;
|
|
|
|
eps: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface BaseSysDepartment {
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 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-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* order
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
order(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
order: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface BaseSysLog {
|
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>
|
|
|
|
*/
|
|
|
|
page(data?: any): Promise<PageResponse>;
|
|
|
|
/**
|
|
|
|
* 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>;
|
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* setKeep
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
setKeep(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
2022-06-10 17:33:59 +08:00
|
|
|
* getKeep
|
2022-04-02 22:50:51 +08:00
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
getKeep(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* clear
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
clear(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
setKeep: string;
|
|
|
|
getKeep: string;
|
|
|
|
clear: 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-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
|
2022-04-02 22:50:51 +08:00
|
|
|
* @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;
|
2022-06-10 17:33:59 +08:00
|
|
|
page: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-10 17:33:59 +08:00
|
|
|
declare interface BaseSysParam {
|
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>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* html
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
html(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
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
|
|
|
html: 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-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
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
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>
|
|
|
|
*/
|
2022-06-10 17:33:59 +08:00
|
|
|
add(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
2022-06-10 17:33:59 +08:00
|
|
|
list: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
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 BaseSysUser {
|
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>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* move
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
move(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
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
|
|
|
move: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
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>;
|
|
|
|
/**
|
|
|
|
* 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>;
|
|
|
|
/**
|
|
|
|
* setWork
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
setWork(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* setStar
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
setStar(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* inChat
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
inChat(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
permission: {
|
|
|
|
list: string;
|
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
|
|
|
add: string;
|
|
|
|
getChatChannelUser: string;
|
|
|
|
checkingSetReply: string;
|
|
|
|
changePrincipal: string;
|
|
|
|
getChatMsgPage: string;
|
|
|
|
leaveHelper: string;
|
|
|
|
addHelper: string;
|
|
|
|
setBlack: string;
|
|
|
|
setReply: string;
|
|
|
|
setWork: string;
|
|
|
|
setStar: string;
|
|
|
|
inChat: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
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-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-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-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
|
|
|
|
* @returns Promise<any>
|
2022-04-02 22:50:51 +08:00
|
|
|
*/
|
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: {
|
|
|
|
list: string;
|
2022-06-10 17:33:59 +08:00
|
|
|
page: string;
|
|
|
|
info: string;
|
|
|
|
update: string;
|
|
|
|
delete: string;
|
2022-04-02 22:50:51 +08:00
|
|
|
add: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-06-14 16:07:47 +08:00
|
|
|
declare interface SpaceType {
|
|
|
|
/**
|
|
|
|
* 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 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-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>;
|
2022-06-10 17:33:59 +08:00
|
|
|
/**
|
|
|
|
* start
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
start(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* once
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
once(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* stop
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
stop(data?: any): Promise<any>;
|
|
|
|
/**
|
|
|
|
* log
|
|
|
|
* @returns Promise<any>
|
|
|
|
*/
|
|
|
|
log(data?: any): Promise<any>;
|
2022-04-02 22:50:51 +08:00
|
|
|
/**
|
|
|
|
* 权限
|
|
|
|
*/
|
|
|
|
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
|
|
|
start: string;
|
|
|
|
once: string;
|
|
|
|
stop: string;
|
|
|
|
log: 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
|
|
|
};
|