简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2022-12-28 |
请求URL:
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| view_id | 是 | int | id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "获取成功",
"data": {
"username": "吉祥店",
"avatar": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
"view_id": 14,
"title": "看图3",
"content": "看图3,视频",
"type": 2,
"imgs": [
"http://wzb.com/uploads/case/2020-01-06/5e130c6926692.mp4"
],
"comment_num": 5,
"points_num": 1,
"created_at": "2022-12-27 13:59:43",
"module": "unionshopmulti",
"uid": 16,
"cover": "http://wzb.com/uploads/case/2020-01-06/5e130c6926692.jpg",
"relation_id": 0,
"point_status": true,
"shop_id": 2
}
}
错误时返回:
{
"status": 0,
"msg": "参数错误"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| username | int | 用户名称 |
| avatar | string | 用户头像 |
| view_id | int | 看图id |
| title | string | 标题 |
| content | string | 内容详情 |
| type | int | 1=图文 2=视频 |
| imgs | array | 图片列表 |
| comment_num | int | 评论数 |
| points_num | int | 点赞数 |
| created_at | string | 发布时间 |
| point_status | bool | true=已点赞,false=未点赞 |
| cover | string | 视频封面 |
| shop_id | string | 店铺id |
备注:
- 无
作者:admin 创建时间:2022-12-28 10:26
更新时间:2025-04-10 15:43
更新时间:2025-04-10 15:43