refactor: refactor app and api

This commit is contained in:
0xJacky 2023-11-29 00:08:44 +08:00
parent 5ab50b8a93
commit 287ef7527d
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
157 changed files with 8116 additions and 3587 deletions

View file

@ -4,13 +4,13 @@ const upgrade = {
get_latest_release(channel: string) {
return http.get('/upgrade/release', {
params: {
channel
}
channel,
},
})
},
current_version() {
return http.get('/upgrade/current')
}
},
}
export default upgrade