Dashboard

This commit is contained in:
xiaomlove
2021-05-17 21:07:50 +08:00
parent fa4f9a29c5
commit d651762c1b
16 changed files with 685 additions and 854 deletions
+13
View File
@@ -90,6 +90,19 @@ const api = {
listSetting: (params) => {
return axios.get('settings', {params});
},
listStatData: () => {
return axios.get('dashboard/stat-data')
},
listLatestUser: () => {
return axios.get('dashboard/latest-user')
},
listLatestTorrent: () => {
return axios.get('dashboard/latest-torrent')
},
listSystemInfo: () => {
return axios.get('dashboard/system-info')
}
}
export default api