cool-admin-vue/build/cool/temp/service.d.ts

2345 lines
37 KiB
TypeScript
Raw Normal View History

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
};