Commit c164b56b6ef165e0bd87a2a51d44703faf124634
1 parent
3ef59ed9
提交
Showing
1 changed file
with
17 additions
and
3 deletions
03.发布云/5.2 sp内容同步推荐接口.md
| ... | ... | @@ -40,7 +40,7 @@ content:{ |
| 40 | 40 | status:1, //内容状态 非必填 上线:1 下线:2 |
| 41 | 41 | area:"美国" //地区 非必填 多个地区以顿号分割 非必填 |
| 42 | 42 | description:"哈哈哈。。。。",//描述 非必填 |
| 43 | - duration:0,播放时长 非必填 | |
| 43 | + duration:0,播放时长 (内容类型为VI 必填) | |
| 44 | 44 | mapperColumn:"ent/", //中国网+栏目id 必填 |
| 45 | 45 | pageUrl:"http://www.cnlive.com", //web内容页面链接地址 必填 |
| 46 | 46 | tags:"娱乐、前沿",//标签,多个标签以顿号分割 非必填 |
| ... | ... | @@ -63,7 +63,7 @@ content:[{ |
| 63 | 63 | status:1, //内容状态 非必填 上线:1 下线:2 |
| 64 | 64 | area:"美国", //地区 非必填 |
| 65 | 65 | description:"哈哈哈。。。。",//描述 非必填 |
| 66 | - duration:0,播放时长 非必填 | |
| 66 | + duration:0,播放时长 (内容类型为VI 必填) | |
| 67 | 67 | mapperColumn:"ent/", //中国网+栏目id 必填 |
| 68 | 68 | pageUrl:"http://www.cnlive.com", //web内容页面链接地址 必填 |
| 69 | 69 | tags:"娱乐、前沿",//标签,多个标签以顿号分割 非必填 |
| ... | ... | @@ -72,5 +72,19 @@ content:[{ |
| 72 | 72 | albumStatus:0,//活动状态 (类型为AL 时 必填) 预告海报:0 预告视频:1 直播:2 回放视频:3 |
| 73 | 73 | coordinate:"30.6508298703,104.0757373249", //内容发生地经纬度 非必填 默认sp的办公地点经纬度 |
| 74 | 74 | address:"上海",//发生地详细地址 非必填 默认sp公司地址 |
| 75 | -}。。。] | |
| 75 | +}...] | |
| 76 | +``` | |
| 77 | +----- | |
| 78 | +#### 返回 JSON说明: | |
| 79 | +``` | |
| 80 | +详细地址 非必填 默认sp公司地址 | |
| 81 | +{ | |
| 82 | + errorCode:0, | |
| 83 | + errorMsg:"同步成功" | |
| 84 | +} | |
| 85 | + | |
| 86 | +{ | |
| 87 | + errorCode:1, | |
| 88 | + errorMsg:"异常信息" | |
| 89 | +} | |
| 76 | 90 | ``` | ... | ... |