初始化项目

This commit is contained in:
2026-03-25 22:34:17 +08:00
parent 39db00e022
commit c3e7288953
18 changed files with 214 additions and 93 deletions

View File

@@ -43,12 +43,27 @@ export interface TabItem {
unreadlist?: MyNoticeTodo[];
}
export interface MyFileList {
filePath: string;
fileName: string;
fileType?: number;
fileIcon?: string;
fileSize?: string;
}
export const tabListDataAll = (params?: MyNoticeTodo | any) =>
defHttp.get<TabItem[]>({ url: adminPath + '/biz/myNoticeTodo/tabListData', params});
export const myNoticeTodoList = (params?: MyNoticeTodo | any) =>
defHttp.get<MyNoticeTodo>({ url: adminPath + '/biz/myNoticeTodo/list', params });
export const myNoticeTodoFileList = (params?: MyNoticeTodo | any) =>
defHttp.get<MyFileList[]>({ url: adminPath + '/biz/myNoticeTodo/fileList', params });
export const myNoticeTodoListAll = (params?: MyNoticeTodo | any) =>
defHttp.get<MyNoticeTodo[]>({ url: adminPath + '/biz/myNoticeTodo/listAll', params });
export const myNoticeTodoListData = (params?: MyNoticeTodo | any) =>
defHttp.post<Page<MyNoticeTodo>>({ url: adminPath + '/biz/myNoticeTodo/listData', params });