liujie
2026-08-21 ad5db85e540947e82c7a4d5612879b3b3ecdf459
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')