# 获取单身详情
##
请求地址:\[https://你的域名/api/single/{id}\](https://xn--6qqv7i2xdt95b/api/single/%7Bid%7D)
请求方法:GET
请求数据:
| 参数 | 是否必填 | 类型 | 可选值范围 | 说明 |
| \--- | \--- | \--- | \--- | \--- |
| \\\_column | 否 | string | | 字段,如:“user\\\_id,photo,nickname,gender,birthday,district“ |
| \\\_order | 否 | string | auth,vip,news,hot,login, | 排序 |
返回数据:
| 参数 | 类型 | 说明 |
| \--- | \--- | \--- |
| obj.single | object | 单身资料 |
| obj.album | array | 相册 |
| obj.contact | object | 联系方式 |
| obj.is\\\_like | bool | 是否心动 |
| obj.gifts | array | 收到的礼物 |
请求示例:
```
request({
url: "https://demo.bottlecms.com/api/single/3",
method: "GET",
success: (res) => {
if(res.code==200){
//返回成功
console.log(res.obj);
}
}
});
```
返回示例:
```
{
"success":true,
"code":200,
"msg":"获取成功",
"obj":{
"gifts":\[
{
"id":1,
"user\_id":1,
"gift\_id":1,
"source":2,
"give\_id":1,
"created\_at":"2019-11-30 07:17:39",
"updated\_at":"2019-11-30 07:17:39",
"gift\_title":"玫瑰花1朵",
"gift\_cover":"https://new.bottlecms.com/bc-application/Gift/Assets/common/img/1.png",
"gift\_explains":"玫瑰花移调",
"num":1
}
\],
"is\_like":false,
"single":{
"user\_id":1,
"user\_eid":null,
"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\_check":1,
"photo\_mode":1,
"photo\_at":"2020-06-13 09:31:29",
"nickname":"爆笑笑话",
"gender":1,
"birthday":"1975-06-23",
"district":"1.49.795",
"district\_cn":"北京.昌平.阳坊镇",
"height":171,
"blood":null,
"income":12,
"education":7,
"marriage":173,
"children":176,
"constellation":7,
"weight":57,
"marry":181,
"nationality":203,
"disposition":null,
"house":18,
"car":22,
"industry":25,
"profession":29,
"school":"北京大学",
"native\_place":"2.55.888",
"native\_place\_cn":"天津.和平区.新兴",
"family\_backg":32,
"drink":35,
"smoking":37,
"work\_out":45,
"work\_rest":40,
"pet":null,
"religious":164,
"soliloquy":"多喝点好的好的好的好的好的好的好的好的八点到八点半刚刚发的滚滚滚",
"hobby":"51,58,62,64,69,71,72,78",
"company":"北京陌陌有限公司",
"mate\_gender":2,
"mate\_age":"20~33",
"mate\_age\_min":20,
"mate\_age\_max":33,
"mate\_height":"150~189",
"mate\_height\_min":150,
"mate\_height\_max":189,
"mate\_income":10,
"mate\_education":1,
"mate\_district":"1.37.573",
"mate\_district\_cn":"北京.东城.安定门",
"mate\_marriage":null,
"mate\_children":null,
"mate\_constellation":null,
"mate\_weight":"43~61",
"mate\_weight\_min":43,
"mate\_weight\_max":61,
"mate\_marry":null,
"mate\_nationality":null,
"mate\_house":null,
"mate\_car":null,
"mate\_industry":null,
"mate\_profession":null,
"mate\_disposition":null,
"mate\_native\_place":null,
"mate\_native\_place\_cn":null,
"mate\_family\_backg":null,
"mate\_drink":null,
"mate\_smoking":null,
"mate\_religious":null,
"wechatId":"jssjsjj",
"wechat\_qrcode":"https://u.wechat.com/EB8qITZbh7ANH\_udO44NHrc",
"email":"gggg@qq.com",
"qq":"2345555433",
"phone":"22345555",
"contact\_check":1,
"voice":"https://new.bottlecms.com/uploads/single/voice/d5a1053423e889a7059b78420d4186ea.mp3",
"voice\_check":1,
"video":"https://demo.bottlecms.com/uploads/original/b9ac59ad321a6d1079ee23b256008c12.mp4",
"video\_check":1,
"customize\_1":null,
"customize\_2":null,
"customize\_3":null,
"customize\_4":null,
"customize\_5":null,
"meipo\_uid":null,
"evaluate":null,
"auth\_identity":0,
"auth\_education":0,
"auth\_work":0,
"auth\_car":0,
"auth\_hause":0,
"completion":100,
"album\_num":6,
"setmeal\_id":1,
"fans":0,
"latitude":"39.76142",
"longitude":"117.00645",
"display\_mode":1,
"browse":153,
"close":0,
"check":1,
"login\_at":"2021-04-16 09:55:37",
"sort\_at":null,
"created\_at":"2019-11-29 20:41:35",
"updated\_at":"2021-04-16 10:08:18",
"deleted\_at":null,
"lunar\_calendar":null,
"zodiac":null,
"group\_id":3,
"purpose":null,
"auth\_marriage":0,
"age":45,
"gender\_val":"男士",
"income\_val":"20000~30000元",
"education\_val":"硕士",
"birthday\_val":"1975-06-23",
"district\_val":"北京.昌平.阳坊镇",
"native\_place\_val":"天津.和平区.新兴",
"nickname\_val":"爆笑笑话",
"school\_val":"北京大学",
"company\_val":"北京陌陌有限公司",
"height\_val":"171cm",
"weight\_val":"57kg",
"photo\_mode\_val":"清晰显示",
"display\_mode\_val":"所有人可见",
"constellation\_val":"狮子座",
"industry\_val":"农业",
"house\_val":"未购房",
"car\_val":"已购车",
"family\_backg\_val":"有兄弟姐妹",
"drink\_val":"无酒不欢",
"smoking\_val":"偶尔吸",
"work\_out\_val":"偶尔锻炼",
"work\_rest\_val":"早睡早起",
"religious\_val":"基督教",
"marriage\_val":"未婚",
"children\_val":"没有孩子",
"marry\_val":"五年内结婚",
"nationality\_val":"瑶族",
"profession\_val":"工人",
"soliloquy\_val":"多喝点好的好的好的好的好的好的好的好的八点到八点半刚刚发的滚滚滚",
"mate\_gender\_val":"女士",
"mate\_age\_val":"20~33岁",
"mate\_district\_val":"北京.东城.安定门",
"mate\_height\_val":"150~189cm",
"mate\_weight\_val":"43~61kg",
"mate\_income\_val":"5000~10000元4以上",
"mate\_education\_val":"小学3以上",
"hobby\_arr":\[
"网球",
"购物",
"汽车",
"宠物",
"功夫",
"游泳",
"跑步",
"钓鱼"
\],
"hobby\_val":"网球,购物,汽车,宠物,功夫,游泳,跑步,钓鱼",
"medal":{
"identity":false,
"mobile":13100000001,
"album":true,
"education":false,
"work":false,
"hause":false,
"car":false
}
},
"album":\[
{
"id":1,
"user\_id":1,
"photo":"https://new.bottlecms.com/uploads/photo/c579acaddbab81b40035eb7596b1a0b6.jpg",
"check":1,
"created\_at":"2019-11-30 00:26:47",
"updated\_at":"2019-11-30 00:26:47",
"photo\_50":"https://new.bottlecms.com/uploads/photo/c579acaddbab81b40035eb7596b1a0b6.jpg",
"photo\_100":"https://new.bottlecms.com/uploads/photo/c579acaddbab81b40035eb7596b1a0b6.jpg",
"photo\_200":"https://new.bottlecms.com/uploads/photo/c579acaddbab81b40035eb7596b1a0b6.jpg",
"photo\_400":"https://new.bottlecms.com/uploads/photo/c579acaddbab81b40035eb7596b1a0b6.jpg",
"photo\_600":"https://new.bottlecms.com/uploads/photo/c579acaddbab81b40035eb7596b1a0b6.jpg",
"photo\_big":"https://new.bottlecms.com/uploads/photo/c579acaddbab81b40035eb7596b1a0b6.jpg"
},
{
"id":2,
"user\_id":1,
"photo":"https://new.bottlecms.com/uploads/photo/9a8cc8364e7dad7f72a690054071c13b.jpg",
"check":1,
"created\_at":"2019-12-01 11:36:41",
"updated\_at":"2019-12-01 11:36:41",
"photo\_50":"https://new.bottlecms.com/uploads/photo/9a8cc8364e7dad7f72a690054071c13b.jpg",
"photo\_100":"https://new.bottlecms.com/uploads/photo/9a8cc8364e7dad7f72a690054071c13b.jpg",
"photo\_200":"https://new.bottlecms.com/uploads/photo/9a8cc8364e7dad7f72a690054071c13b.jpg",
"photo\_400":"https://new.bottlecms.com/uploads/photo/9a8cc8364e7dad7f72a690054071c13b.jpg",
"photo\_600":"https://new.bottlecms.com/uploads/photo/9a8cc8364e7dad7f72a690054071c13b.jpg",
"photo\_big":"https://new.bottlecms.com/uploads/photo/9a8cc8364e7dad7f72a690054071c13b.jpg"
},
\],
"contact":{
"wechat":true,
"qq":true,
"email":true,
"phone":true,
"apply\_agree":false
}
}
}
```
- 序言
- 安装及配置
- 环境要求
- 开始安装
- Redis配置
- 问题处理
- 图片不显示
- 站点迁移
- 接口配置
- 文件储存
- 阿里云OSS
- 七牛云KODO
- 短信
- 阿里云短信
- 腾讯云短信
- 邮件
- SMTP发送
- 阿里云邮件API
- 支付
- 微信支付
- 支付宝
- Stripe
- Paypal
- 第三方账号
- 微信登陆
- QQ登陆
- 实人认证
- 阿里云实人认证
- 微信公众号
- 微信公众号接口
- 微信公众号模版消息
- 微信小程序前端发布
- APP前端发布
- 使用说明
- 基本设置
- 按页面设置
- 手机端(web)
- 首页
- 寻觅页
- 缘分页
- 附近页
- 单身详情页
- 消息页
- 聊天页
- 我的页
- 单身圈
- 话题
- 活动
- 约会
- 互选
- 服务
- 单身群
- 官方红娘
- 脱单宝典
- API接口
- 请求说明
- 上传文件
- 获取配置信息
- 获取分类
- API支付
- 获取支付方式
- 调起支付
- 获取自定义页
- 获取文章
- 获取文章列表
- 获取文章详情
- 意见反馈
- 获取广告
- 获取通知
- 注册用户
- 用户登陆
- 第三方账号登陆
- 完善资料
- 获取单身列表
- 获取单身详情