2023-10-25 19:55:18 +08:00
|
|
|
import syhttp from "@/utils/syhttp.js";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 我的公司
|
|
|
|
*/
|
2023-11-23 10:58:26 +08:00
|
|
|
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)
|