Commit bb1ba8b5 by chehuidong

bug

parent 844670f9
import axios from './axios'
export function getLoginState({ userName, password }) {
return axios.post('platform/login', { userName, password })
return axios.post('platform/user/login', { userName, password })
}
export function logout() {
return axios.get('platform/logout')
return axios.get('platform/user/logout')
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment