feat: support auto check upgrade (#53)

This commit is contained in:
Li4n0
2022-01-09 23:51:46 +08:00
committed by GitHub
parent 30f9069e45
commit f6afe0fa12
16 changed files with 216 additions and 32 deletions
-7
View File
@@ -6,11 +6,4 @@ export function auth(token) {
method: 'get',
headers: {"Token": token},
})
}
export function getVersion() {
return request({
url: '/version',
method: 'get',
})
}