更新功能

This commit is contained in:
2023-02-23 22:34:00 +08:00
parent 6885382c52
commit 4995c5b6be
18 changed files with 444 additions and 200 deletions

View File

@@ -3,7 +3,7 @@ import http from "@/utils/request"
export default {
version:{
url: `${config.API_URL}system/index/version`,
url: `${config.API_URL}system/version`,
name: "获取最新版本号",
get: async function(){
return await http.get(this.url);
@@ -98,21 +98,5 @@ export default {
return await http.get(this.url);
}
}
},
log: {
list: {
url: `${config.API_URL}system/log`,
name: "日志列表",
get: async function(params){
return await http.get(this.url, params);
}
},
my: {
url: `${config.API_URL}system/log/my`,
name: "我的日志",
get: async function(params){
return await http.get(this.url, params);
}
}
}
}