liujie
2026-08-21 a7c8a8f6055e1a03414f2227d12ff2e87ec52d41
1
2
3
4
5
import http from './http'
 
export const login = (data) => http.post('/auth/login', data)
export const logout = () => http.post('/auth/logout')
export const getCurrentUser = () => http.get('/auth/me')