You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
636 B
39 lines
636 B
import api from './index'
|
|
// axios
|
|
import request from '@/utils/request'
|
|
|
|
// 登录
|
|
export function login(data) {
|
|
return request({
|
|
url: api.Login,
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 用户信息 post 方法
|
|
export function getUserInfo(data) {
|
|
return request({
|
|
url: api.UserInfo,
|
|
method: 'get',
|
|
data,
|
|
})
|
|
}
|
|
|
|
// 用户名称 get 方法
|
|
export function getCustomerlist(data) {
|
|
return request({
|
|
url: api.Customerlist,
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
// 用户修改密码 post 方法
|
|
export function changePassword(data) {
|
|
return request({
|
|
url: api.Password,
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
|
|
|