This commit is contained in:
eoao
2025-04-26 17:24:39 +08:00
commit 24ba4772e6
107 changed files with 13612 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import http from '@/axios/index.js';
export function login(email, password) {
return http.post('/login', {email: email, password: password})
}
export function logout() {
return http.delete('/logout')
}
export function register(form) {
return http.post('/register', form)
}