1. Get company address
address:app.host/api/campany/employes
method:get
params:token (After logging in to the background, obtain the key through the left interface.)
version V1
return:json
example
success return
{
"response": {
"code": 200,
"status": "success"
},
"data": [
{
"name": "test0",
"year": 11,
"phone": "12121221",
"address": "ad1",
"role": "employee",
"department": "tec"
},
{
"name": "test1",
"year": 11,
"phone": "12121221",
"address": "ad12",
"role": "employee",
"department": "personnel"
},
{
"name": "test2",
"year": 11,
"phone": "12121221",
"address": "ad13",
"role": "employee",
"department": "sale department"
}
]
}
failure return
{
"response": {
"code": 401,
"status": "unauthorized"
}
}