2.1 用户列表

请求方式: GET

请求地址: {base_url}/api/users

请求参数

参数类型是否必填最大长度描述示例值
pageint8页码,默认11
per_pageint16每页条数,默认1010
usernameint16组织名称Tinywan

响应参数

参数类型是否必填最大长度描述示例值
totalint16总条数10
listarray16列表描述10
└ idint16ID200002
└ usernamestring16账号Tinywan
└ emailstring16邮箱Tinywan@aliyun.com
└ mobilestring16手机号码136693618999
└ avatarstring16头像avatar
└ website_namestring16站点名称元宇宙在哪里?
└ website_urlstring16站点地址https://www.tinywan.com

响应示例

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8

{
    "code": 0,
    "msg": "success",
    "data": {
        "total": 2,
        "list": [
            {
                "id": 20220001,
                "username": "webman",
                "email": "Tinywan@163.com",
                "mobile": "13669361192",
                "avatar": "https://live-oss.baidu.com/assets/images/avatars/6avatar.jpg",
                "is_enabled": 1,
                "website_name": "webman",
                "website_url": "https://github.tinywan.com/",
                "create_time": "2021-11-12 10:48:59"
            },
            ...
        ]
    }
}
 
 






















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
最近修改时间:
贡献者: ShaoBo Wan(無尘), Tinywan