简要描述:
- 帖子详情
请求域名:
- http://xx.com
请求URL:
POST/&route=plugin.micro-communities.api.trick.getStrickDetail
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
tid | 是 | int | 帖子ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"id": 1,
"title": "测试",
"contents": "测试奥德赛发送到发送到发送建行卡可凉快地方爱的发展空间诶你",
"goods_id": 312,
"store_id": 3,
"address": "asddffasddfasdd",
"browse_num": null,
"praise_num": 0,
"comments_num": 0,
"user_id": 84,
"cat_id": 1,
"ylng":"",
"ylat":"",
"created_at": "2019-08-26 15:34:14",
"has_one_stick_user": {
"avatar": "http://test-1251768088.cosgz.myqcloud.com/images/3/2018/04/PQ40SOu6jSoWL90I1Iup0Kttw1izoF.jpg",
"nickname": "12345678922",
"uid": 84,
"avatar_image": "https://test-1251768088.cosgz.myqcloud.com/images/3/2018/04/PQ40SOu6jSoWL90I1Iup0Kttw1izoF.jpg",
"username": "12345678922"
},
"has_many_image": [
{
"id": 13,
"stick_id": 1,
"url": "http://dev3.yunzshop.com/attachment/images/3/2017/07/z1XplaLkFKd991D9CR8xNPC9ca3zKX.jpg"
},
{
"id": 14,
"stick_id": 1,
"url": "http://dev3.yunzshop.com/attachment/images/3/2017/07/z1XplaLkFKd991D9CR8xNPC9ca3zKX.jpg"
}
],
"has_one_goods": {
"thumb": "images/3/2018/04/PQ40SOu6jSoWL90I1Iup0Kttw1izoF.jpg",
"id": 312,
"title": "招商员指定商品,不买不行",
"market_price": "312.00",
"price": "13.00",
"show_sales": 0,
"status_name": null
},
"has_one_store": {
"arr": {
"id": 3,
"store_name": "杨雨测试",
"thumb": "http://dev3.yunzshop.com/attachment/images/3/2017/08/GRSI9Jj8Hgf42i2g64l568iIgOiGwW.jpg",
"address": "水电费水电费是发",
"average_score": 0,
"privince_name": "内蒙古自治区",
"city_name": "包头市",
"district_name": "昆都仑区",
"ads": "内蒙古自治区包头市昆都仑区水电费水电费是发"
}
},
"cat_name":"",
"is_own": 1,
"is_manager": 0,
"is_follow": 0,
"is_praise": 1
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
title | string | 帖子标题 |
contents | string | 帖子内容 |
address | string | 地址 |
browse_num | int | 浏览量 |
praise_num | int | 点赞量 |
ylng | int | 经度 |
ylat | int | 纬度 |
comments_num | int | 评论数量 |
created_at | int | 发帖时间 |
has_one_stick_user | int | 发帖用户信息 |
avatar | int | 头像 |
nickname | int | 名称 |
has_many_image | int | 帖子图片信息 |
url | int | 图片地址 |
has_one_goods | int | 帖子关联商品信息 |
show_sales | int | 已售数量 |
price | int | 当前价 |
market_price | int | 原价 |
has_one_store | int | 帖子关联门店信息 |
average_score | int | 门店星级 |
ads | int | 门店地址 |
is_own | int | 发帖人 |
is_manager | int | 管理员 |
is_follow | int | 当前用户关注过发帖人 |
is_praise | int | 当前用户点赞过该贴 |