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.
23 lines
505 B
23 lines
505 B
import request from '~/utils/request'
|
|
// import cookie from 'js-cookie'
|
|
|
|
export default {
|
|
submitLogin(user) {
|
|
return request({
|
|
baseURL: 'http://:8160',
|
|
url: '/api/ucenter/member/login',
|
|
method: 'post',
|
|
data: user
|
|
})
|
|
},
|
|
|
|
getLoginInfo() {
|
|
return request({
|
|
baseURL: 'http://:8160',
|
|
url: '/api/ucenter/member/get-login-info',
|
|
method: 'get'
|
|
// 通过请求头发送token
|
|
// headers: { 'token': cookie.get('guli_jwt_token') }
|
|
})
|
|
}
|
|
}
|