curl --location --request GET 'http://vue-shop-api-t.itheima.net/api/private/v1/users?query=admin&pagenum=1&pagesize=2' \
--header 'Authorization: {{Pin_ACCESS_TOKEN}}'{
"data": {
"total": 1,
"pagenum": 1,
"users": [
{
"id": 500,
"role_name": "超级管理员",
"username": "admin",
"create_time": 1486720211,
"mobile": "12345678",
"email": "adsfad@qq.com",
"mg_state": true
}
]
},
"meta": {
"msg": "获取管理员列表成功",
"status": 200
}
}