增加移动端,可以查看统计数据和日志

This commit is contained in:
jianzhichu
2025-12-11 22:16:03 +08:00
parent fc7886a76e
commit d0c4322907
16 changed files with 1531 additions and 164 deletions
+20
View File
@@ -236,7 +236,27 @@ export const useApiStore = defineStore('coreapi', () => {
});
}
//移动端获取日志列表
async function MobileLogs() {
return http.request<any, Response<any>>('/api/logs/list', 'get').then(r => {
return r.data;
}).finally(() => {
});
}
//移动端获取日志详情
async function LogDetail(type: string, date: string) {
return http.request<any, Response<any>>('/api/logs/content?type=' + type + "&Date=" + date, 'get').then(r => {
return r.data;
}).finally(() => {
});
}
return {
LogDetail,
MobileLogs,
ExportConf,
ImportConf,
GetDeleteViedos,