user.js 181 B

12345
  1. import { get, post } from '@/utils/request'
  2. export const login = post('/api/user/login')
  3. export const getInfo = get('/api/user/info')
  4. export const logout = post('/api/user/logout')