文档
测试

图文内页-长图

POST
http://192.168.1.221/member/api.users/shareContent

接口描述

John

请求参数

参数名
类型
描述
必填
id
int
文章id
必填
urltoken
string
分享邀请id(有就传)
必填

响应参数

参数名
类型
描述
必填
content_data
array
文章内容
必填
goods_data
array
商品橱窗
必填
comment
array
评价
必填

说明 / 示例

``` { "code": 1, "msg": "success", "data": { "list": { "content_data": { "id": 1, "pic": [ "/upload/image/sssss.jpg" ], "title": "啦啦啦", "content": "很好", "video": "https://www.runoob.com/try/demo_source/movie.mp4", "topic": "话题啊", "goods_id": "101,102", "nick_name": "john", "headimgurl": "" }, "goods_data": [ { "goods_id": 101, "goods_name": "爆款产品", "shop_price": "39.00", "goods_thumb": "/upload/gimg/20190508/5cd23dfcb0746_thumb.png" }, { "goods_id": 102, "goods_name": "会员产品", "shop_price": "399.00", "goods_thumb": "/upload/gimg/20190316/5c8cb513953f1_thumb.jpg" } ], "comment": [ { "user_id": 29958, "content": "我来评论拉", "zan_num": 0, "pid": 0, "nick_name": "john", "headimgurl": "", "child": [ { "user_id": 29922, "content": "我来回复", "zan_num": 0, "pid": 29958, "nick_name": "余磊", "headimgurl": "" } ] } ] } } } ``` ``` { "code": 0, "msg": "文章不存在", "data": { }, "url": "javascript:history.back(-1);", "wait": 3 } ```