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.
57 lines
524 B
57 lines
524 B
import http from '../common/axios.js'
|
|
|
|
// 账号密码登录
|
|
function medication_login(data) {
|
|
let url = '/dnseyeapi/Login/login'
|
|
return http.post(url, data).then(res => {
|
|
return res;
|
|
})
|
|
}
|
|
|
|
//登录
|
|
function login(data) {
|
|
let url = '/login'
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取学员信息
|
|
function member(data) {
|
|
let url = '/member/member'
|
|
return http.get(url,data).then(res => {
|
|
return res;
|
|
})
|
|
}
|
|
|
|
|
|
|
|
export default {
|
|
login,
|
|
medication_login,
|
|
member,
|
|
}
|