# 获取单身列表
##
请求地址:[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配置
- 问题处理
- 图片无法显示问题
- 站点迁移
- 接口配置
- 短信
- 阿里云短信
- 腾讯云短信
- 邮件
- SMTP发送
- 阿里云邮件API
- 支付
- 微信支付
- 支付宝
- stripe
- PayPal
- 第三方账号
- 微信登录
- QQ登录
- 文件储存
- 阿里云OSS
- 七牛云KODO
- 微信公众号
- 微信公众号接口配置
- 微信模版消息
- 实人认证
- 初始设置
- 按功能设置
- 首页Banner
- 官方推荐
- 每日推荐
- 单身资料
- 单身列表
- 缘分
- 附近
- 好友
- 聊天
- 联系方式
- 礼物
- VIP套餐
- 用户组
- 推荐好友
- 活动
- 约会
- 媒婆
- 专业红娘
- 话题
- 脱单宝典
- 服务
- 广告设置
- 自定义页
- 导入单身
- 导航设置
- 审核
- 页面设置
- API接口
- 请求说明
- 上传文件
- 获取配置信息
- 获取分类
- API支付
- 获取支付方式
- 调起支付
- 获取自定义页
- 获取文章
- 获取文章列表
- 获取文章详情
- 意见反馈
- 获取广告
- 获取通知
- 注册用户
- 用户登录
- 第三方账号登录
- 完善资料
- 单身资料
- 获取单身列表
- 获取单身详情