Commit 8dfe8027 by chehuidong

bug

parent e9fd9740
import axios from './axios'
export function getLoginState({ userName, password }) {
return axios.post('sys/platform/login', null, {
return axios.post('platform/login', null, {
params: { userName, password },
})
}
export function logout() {
return axios.get('sys/platform/logout')
return axios.get('platform/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