Skip to content

登入

POST
/auth/login

需先登入留下 session 後,才能使用其他 API

Request Body

JSON
{
"id": "string",
"pass": "string"
}

Responses

Ok
application/json
JSON
{
"status": true,
"data": {
"username": "string",
"empId": "string",
"empName": "string",
"compId": "string"
},
"perm": {
"isManager": true,
"permList": [
"string"
]
}
}

Samples

Powered by VitePress OpenAPI