## 示例 接口名称:获取会员列表 接口地址:域名/index.php?m=api&c=user&a=getUsersList 请求方式:GET 数据类型:JSON 响应类型:JSON 请求参数: | 参数名称 | 是否必须 | 类型 | 默认值 | 描述 | | --- | --- | --- | --- | --- | | email | 否 | varchar | | 邮箱 | | username | 否 | varchar | | 用户昵称 | | page_size | 是 | int | | 每页数量 | | current_page | 是 | int | | 当前页码 | 响应数据: | 参数名称 | 是否必须 | 类型 | 默认值 | 描述 | | --- | --- | --- | --- | --- | | message | 是 | string | | 返回信息 | | code | 是 | int | | 状态码 | | data | 是 | array | | 返回插入成功的id或false | | --pagination | 是 | array | | 分页数据 | | ---- total | 是 | int | | 总数量 | | ---- page_count | 是 | int | | 分页数量 | | ---- page_size | 是 | int | | 每页数量 | | ---- current_page | 是 | int | | 当前页码 | | --list | 是 | array | | 查询数据列表 | 成功响应示列: ~~~ { "code": 1001, "message": "响应成功", "data": { "list": [ { "uid": "11", "email": "24@qq.com", "username": "123", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1511402000-785404", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1511402000", "status": "1" }, { "uid": "10", "email": "234@qq.com", "username": "22", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1511401986-672277", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1511401986", "status": "1" }, { "uid": "9", "email": "sfdf@qq.com", "username": "啊", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1511401865-790355", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1511401865", "status": "1" }, { "uid": "8", "email": "t6@qq.com", "username": "啊", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1511401536-825917", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1511401536", "status": "1" }, { "uid": "7", "email": "23ee@qq.com", "username": "啊", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1511401472-908630", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1511401472", "status": "1" }, { "uid": "6", "email": "23@qq.com", "username": "许士aaaaaaaaaaaaaaaaaaaa", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1511401453-626949", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1511401453", "status": "1" }, { "uid": "5", "email": "34222@qq.com", "username": "许士林", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1510758335-983786", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1510758335", "status": "1" }, { "uid": "4", "email": "1322@qq.com", "username": "是是是", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1510758278-313215", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1510758278", "status": "1" }, { "uid": "3", "email": "11217276@qq.com", "username": "张高元", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1510037014-115886", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1510037014", "status": "1" }, { "uid": "2", "email": "3522322@qq.com", "username": "king", "password": "e10adc3949ba59abbe56e057f20f883e", "token": "1510037004-391104", "sex": null, "province": null, "city": null, "area": null, "signature": null, "avatar": null, "create_time": "1510037004", "status": "1" } ], "pagination": { "total": "11", "page_count": 2, "current_page": "1", "page_size": "10" } } } ~~~ 失败响应示列: ~~~ { "code": 2001, "message": "响应错误", "data": { "list": 0, "pagination": { "total": "0", "page_count": 0, "current_page": "1", "page_size": "4" } } } ~~~