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; }) }, //教师/销售端详情 editPersonnelInfo(data = {}) { let url = '/personnel/edit' return http.post(url, data).then(res => { return res; }) }, //获取字典数据 common_Dictionary(data = {}) { let url = '/common/getDictionary' return http.get(url, data).then(res => { return res; }) }, //↑↑↑↑↑↑↑↑↑↑↑↑-----公共接口相关-----↑↑↑↑↑↑↑↑↑↑↑↑ //↓↓↓↓↓↓↓↓↓↓↓↓-----教练接口相关-----↓↓↓↓↓↓↓↓↓↓↓↓ //教研管理文章列表 teachingResearchList(data = {}) { let url = '/teachingResearch/list' return http.get(url, data).then(res => { return res; }) }, //教研管理文章详情 teachingResearchInfo(id) { let url = '/teachingResearch/info/' + id return http.get(url).then(res => { return res; }) }, //获取能看的教研管理类型 teachingResearchLookType(data = {}) { let url = '/teachingResearch/lookType' return http.get(url, data).then(res => { return res; }) }, //↑↑↑↑↑↑↑↑↑↑↑↑-----教练接口相关-----↑↑↑↑↑↑↑↑↑↑↑↑ //↓↓↓↓↓↓↓↓↓↓↓↓-----销售接口相关-----↓↓↓↓↓↓↓↓↓↓↓↓ //修改销售端个人资料 editPersonnel(data = {}) { let url = '/personnel/info' return http.get(url, data).then(res => { return res; }) }, //销售端 xs_addCustomerResources(data = {}) { let url = '/customerResources/add' return http.post(url, data).then(res => { return res; }) }, //↑↑↑↑↑↑↑↑↑↑↑↑-----销售接口相关-----↑↑↑↑↑↑↑↑↑↑↑ //↓↓↓↓↓↓↓↓↓↓↓↓-----学生接口相关-----↓↓↓↓↓↓↓↓↓↓↓↓ //↑↑↑↑↑↑↑↑↑↑↑↑-----学生接口相关-----↑↑↑↑↑↑↑↑↑↑↑↑ }