JIALDemo/target/classes/backend/api/login.js

15 lines
205 B
JavaScript

function loginApi(data) {
return $axios({
'url': '/user/login',
'method': 'post',
data
})
}
function logoutApi(){
return $axios({
'url': '/user/logout',
'method': 'post',
})
}