This commit is contained in:
2026-06-17 21:32:18 +08:00
commit ae96f2c9ff
615 changed files with 22334 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { post } from '@/utils/request'
export function login(data) {
return post('/exam/api/sys/user/login', data)
}
export function getInfo(token) {
return post('/exam/api/sys/user/info?token=' + token)
}
export function logout() {
return post('/exam/api/sys/user/logout', {})
}
export function reg(data) {
return post('/exam/api/sys/user/reg', data)
}