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.
18 lines
359 B
18 lines
359 B
1 month ago
|
import http from './http'
|
||
|
|
||
|
/**
|
||
|
* @description 进行登录操作
|
||
|
* @param {*} code 临时登录凭证
|
||
|
* @returns Promise
|
||
|
*/
|
||
|
export const reqLogin = (code) => {
|
||
|
|
||
|
// return http.get(`/weixin/Login/${code}`)
|
||
|
return http.get(`/student/common/login/${code}`)
|
||
|
}
|
||
|
|
||
|
export const reqUserInfo = () => {
|
||
|
return http.get(`/student/common/getUserInfo/${id}`)
|
||
|
}
|
||
|
|