12345678910 |
- import { get, post, link, upload } from '@/utils/request'
- export const login = post('/api/user/login')
- export const wechatLogin = post('/api/user/wechat-login')
- export const phoneLogin = post('/api/user/phone-login')
- export const getSmsCode = get('/api/common/get-sms-code')
- export const getInfo = get('/api/user/info')
- export const updateInfo = post('/api/user/update-info')
- export const logout = post('/api/user/logout')
- export const uploadFile = upload('/api/attachment/upload')
|