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
+15
View File
@@ -0,0 +1,15 @@
import request from "@/api/index";
export function getVersion() {
return request({
url: '/version',
method: 'get',
})
}
export function getUpgrade() {
return request({
url: '/getUpgrade',
method: 'get',
})
}