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.
45 lines
864 B
45 lines
864 B
import http from '../common/axios.js'
|
|
|
|
export default {
|
|
//学员详情
|
|
member(data) {
|
|
let url = '/member/member'
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
//验证原始密码
|
|
is_pass(data) {
|
|
let url = '/member/is_pass'
|
|
return http.post(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
//设置新密码
|
|
set_pass(data) {
|
|
let url = '/member/set_pass'
|
|
return http.post(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
// 业务员端配置项(关于我们)
|
|
setFeedback(data) {
|
|
let url = '/member/set_feedback'
|
|
return http.post(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
login(data) {
|
|
let url = '/login'
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
//修改学员信息
|
|
member_edit(data) {
|
|
let url = '/member/member_edit'
|
|
return http.post(url,data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
}
|