# 获取单身列表
##
请求地址:[https://你的域名/api/single](https://xn--6qqv7i2xdt95b/api/single)
请求方法:GET
请求数据:
| 参数 | 是否必填 | 类型 | 可选值范围 | 说明 |
| --- | --- | --- | --- | --- |
| \_page | 否 | number | | 页数,默认为1 |
| \_limit | 否 | number | 10-100 | 每页条数,默认10 |
| \_column | 否 | string | | 字段,如:“user\_id,photo,nickname,gender,birthday,district“ |
| \_order | 否 | string | auth,vip,news,hot,login, | 排序 |
返回数据:
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| list | array | 如设置\_column 将按照设置返回相应字段,字段说明可查阅数据字典 |
| | | |
请求示例:
```
request({
url: "https://demo.bottlecms.com/api/single",
method: "GET",
success: (res) => {
if(res.code==200){
//返回成功
console.log(res.list);
}
}
});
```
返回示例:
```
{
"success":true,
"code":200,
"msg":"获取成功",
"list":[
{
"user_id":6,
"photo":"https://new.bottlecms.com/uploads/single/photo/6.jpeg",
"photo_50":"https://new.bottlecms.com/uploads/single/photo/6.jpeg",
"photo_100":"https://new.bottlecms.com/uploads/single/photo/6.jpeg",
"photo_200":"https://new.bottlecms.com/uploads/single/photo/6.jpeg",
"photo_400":"https://new.bottlecms.com/uploads/single/photo/6.jpeg",
"photo_600":"https://new.bottlecms.com/uploads/single/photo/6.jpeg",
"photo_mode":1,
"nickname":"湿内隧台可",
"gender":2,
"gender_val":"女士",
"birthday":"1998-03-09",
"age":23,
"district":"1.42",
"district_cn":"北京.丰台",
"height":186,
"income":0,
"education":1,
"constellation":11,
"industry":0,
"soliloquy":"",
"auth_identity":0,
"setmeal_id":1,
"group_id":3,
"income_val":null,
"education_val":"小学3",
"birthday_val":"1998-03-09",
"district_val":"北京.丰台",
"nickname_val":"湿内隧台可",
"height_val":"186cm",
"constellation_val":"射手座",
"industry_val":null,
},
{
"user_id":1,
"photo":"https://new.bottlecms.com/uploads/original/20200613/1b4ea7590d52dea30a5fb504e6ff33bc.jpeg",
"photo_50":"https://new.bottlecms.com/uploads/_bcResize_/50_50_1_80/20200613/1b4ea7590d52dea30a5fb504e6ff33bc.jpeg",
"photo_100":"https://new.bottlecms.com/uploads/_bcResize_/100_100_1_80/20200613/1b4ea7590d52dea30a5fb504e6ff33bc.jpeg",
"photo_200":"https://new.bottlecms.com/uploads/_bcResize_/200_200_1_80/20200613/1b4ea7590d52dea30a5fb504e6ff33bc.jpeg",
"photo_400":"https://new.bottlecms.com/uploads/_bcResize_/400_400_1_80/20200613/1b4ea7590d52dea30a5fb504e6ff33bc.jpeg",
"photo_600":"https://new.bottlecms.com/uploads/_bcResize_/600_600_1_80/20200613/1b4ea7590d52dea30a5fb504e6ff33bc.jpeg",
"photo_mode":1,
"nickname":"爆笑笑话",
"gender":1,
"gender_val":"男士",
"birthday":"1975-06-23",
"age":45,
"district":"1.49.795",
"district_cn":"北京.昌平.阳坊镇",
"height":171,
"income":12,
"education":7,
"constellation":7,
"industry":25,
"soliloquy":"多喝点好的好的好的好的好的好的好的好的八点到八点半刚刚发的滚滚滚",
"auth_identity":0,
"setmeal_id":1,
"group_id":3,
"income_val":"20000~30000元",
"education_val":"硕士",
"birthday_val":"1975-06-23",
"district_val":"北京.昌平.阳坊镇",
"nickname_val":"爆笑笑话",
"height_val":"171cm",
"photo_mode_val":"清晰显示",
"constellation_val":"狮子座",
"industry_val":"农业",
},
……
]
}
```
- 序言
- 安装及配置
- 环境要求
- 开始安装
- Redis配置
- 问题处理
- 图片不显示
- 站点迁移
- 接口配置
- 文件储存
- 阿里云OSS
- 七牛云KODO
- 短信
- 阿里云短信
- 腾讯云短信
- 邮件
- SMTP发送
- 阿里云邮件API
- 支付
- 微信支付
- 支付宝
- Stripe
- Paypal
- 第三方账号
- 微信登陆
- QQ登陆
- 实人认证
- 阿里云实人认证
- 微信公众号
- 微信公众号接口
- 微信公众号模版消息
- 微信小程序前端发布
- APP前端发布
- 使用说明
- 基本设置
- 按页面设置
- 手机端(web)
- 首页
- 寻觅页
- 缘分页
- 附近页
- 单身详情页
- 消息页
- 聊天页
- 我的页
- 单身圈
- 话题
- 活动
- 约会
- 互选
- 服务
- 单身群
- 官方红娘
- 脱单宝典
- API接口
- 请求说明
- 上传文件
- 获取配置信息
- 获取分类
- API支付
- 获取支付方式
- 调起支付
- 获取自定义页
- 获取文章
- 获取文章列表
- 获取文章详情
- 意见反馈
- 获取广告
- 获取通知
- 注册用户
- 用户登陆
- 第三方账号登陆
- 完善资料
- 获取单身列表
- 获取单身详情