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.
49 lines
918 B
49 lines
918 B
import http from '../common/axios.js'
|
|
|
|
//全部api接口
|
|
export default {
|
|
// getDemo(data = {}) {
|
|
// let url = '/member/member_edit'
|
|
// return http.get(url, data).then(res => {
|
|
// return res;
|
|
// })
|
|
// },
|
|
// postDemo(data = {}) {
|
|
// let url = '/member/member_edit'
|
|
// return http.post(url, data).then(res => {
|
|
// return res;
|
|
// })
|
|
// },
|
|
|
|
//公共接口相关
|
|
//教师/销售端登陆
|
|
personnelLogin(data = {}) {
|
|
let url = '/personnelLogin'
|
|
return http.post(url, data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
//教师/销售端详情
|
|
getPersonnelInfo(data = {}) {
|
|
let url = '/personnel/info'
|
|
return http.get(url, data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
|
|
|
|
//教练接口相关
|
|
|
|
|
|
|
|
//销售接口相关
|
|
|
|
|
|
|
|
|
|
//学生接口相关
|
|
|
|
|
|
|
|
}
|