## 用户列表API
~~~[api]
GET:/admin/user/userlist
*token=token#用户端口值(需管理员权限)(GET)
*restype=json#默认返回json(GET)
<<<
success
{
"code":200,
"msg":"success",
"data":[
{
"id":admin1,
"username":"1",
"password":"d41d8cd98f00b204e9800998ecf8427e",
"port_name":"a0b923820dcc509a",
"device_count":0,
"status":1,
"expire_time":"2019-09-03 00:00:00",
"create_time":"2019-09-03 16:05:29",
"update_time":"2019-09-03 16:05:29"
},
{
"id":2,
"username":"admin2",
"password":"70f72d7b2c3fbf84cdca8df7bc358865",
"port_name":"2c3fbf84cdca8df7",
"device_count":123,
"status":1,
"expire_time":"2019-09-10 16:17:06",
"create_time":"2019-09-03 16:17:06",
"update_time":"2019-09-03 16:17:06"
}
]
}
<<<
error
{
"code": 400,
"msg": "bad request",
"data": ""
}
~~~