25 lines
575 B
JavaScript
25 lines
575 B
JavaScript
import syhttp from "@/utils/syhttp.js";
|
|
|
|
/**
|
|
* 我的公司
|
|
*/
|
|
export const uplodeImgAPI = (data) => syhttp.post('/user/imageUpload', data)
|
|
|
|
//登录
|
|
export const login = (data) => syhttp.post('/login/account', data)
|
|
|
|
|
|
//验证码
|
|
|
|
export const xinregister = (data) => syhttp.post('/index/code', data)
|
|
|
|
|
|
//用户注册
|
|
export const logregister = (data) => syhttp.post('/login/register', data)
|
|
|
|
//修改密码
|
|
export const changePassword = (data) => syhttp.post('/user/changePassword', data)
|
|
|
|
//退出登录
|
|
|
|
export const logout = (data) => syhttp.get('/login/logout', data) |