收藏 取消收藏
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>api/goods/collection</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>默认</th>
<th>注释</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">goods_id</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>产品id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: {
&quot;news&quot;: [
{
&quot;news_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;chatgpt4.0最新资讯1&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232323&quot;,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;news_id&quot;: &quot;2&quot;,
&quot;title&quot;: &quot;chatgpt4.0最新资讯2&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232323&quot;,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
}
],
&quot;tutorial&quot;: [
{
&quot;tutorial_id&quot;: &quot;1&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;2&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;3&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;4&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;5&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;6&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;7&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;8&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;9&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;10&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;tutorial_id&quot;: &quot;11&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;新手必备教程&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;content&quot;: &quot;富文本&quot;,
&quot;views&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;167232321&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
}
],
&quot;report&quot;: [
{
&quot;report_id&quot;: &quot;1&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;2&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;3&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;4&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;0&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;5&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;1&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;6&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;1&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;7&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;1&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;8&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;1&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;9&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;2&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;10&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;2&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
},
{
&quot;report_id&quot;: &quot;11&quot;,
&quot;goods_id&quot;: &quot;1&quot;,
&quot;title&quot;: &quot;标题标题标题标题标题标题&quot;,
&quot;image&quot;: &quot;https://ai.carryba.com/web/lavatar.jpg&quot;,
&quot;label&quot;: &quot;商业营销,写作&quot;,
&quot;link&quot;: &quot;https://www.baidu.com/&quot;,
&quot;download&quot;: &quot;2&quot;,
&quot;addtime&quot;: &quot;1677323123&quot;,
&quot;sort&quot;: null,
&quot;keyword&quot;: &quot;商业营销,写作&quot;
}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>默认</th>
<th>注释</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">news</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>相关资讯</td>
</tr>
<tr>
<td style="text-align: left;">tutorial</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>相关教程</td>
</tr>
<tr>
<td style="text-align: left;">report</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>相关报告</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align: left;">资讯字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>默认</th>
<th>注释</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">news_id</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>资讯id</td>
</tr>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>标题</td>
</tr>
<tr>
<td style="text-align: left;">image</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>图片</td>
</tr>
<tr>
<td style="text-align: left;">label</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>标签</td>
</tr>
<tr>
<td style="text-align: left;">content</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>内容富文本</td>
</tr>
<tr>
<td style="text-align: left;">views</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>浏览量</td>
</tr>
<tr>
<td style="text-align: left;">addtime</td>
<td style="text-align: left;">int(10)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>注册时间</td>
</tr>
<tr>
<td style="text-align: left;">keyword</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>搜索关键词</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align: left;">教程字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>默认</th>
<th>注释</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">tutorial_id</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>教程id</td>
</tr>
<tr>
<td style="text-align: left;">goods_id</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>产品id</td>
</tr>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>标题</td>
</tr>
<tr>
<td style="text-align: left;">image</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>图片</td>
</tr>
<tr>
<td style="text-align: left;">label</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>标签</td>
</tr>
<tr>
<td style="text-align: left;">content</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>内容富文本</td>
</tr>
<tr>
<td style="text-align: left;">views</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>浏览量</td>
</tr>
<tr>
<td style="text-align: left;">addtime</td>
<td style="text-align: left;">int(10)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>注册时间</td>
</tr>
<tr>
<td style="text-align: left;">sort</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>热门排序</td>
</tr>
<tr>
<td style="text-align: left;">keyword</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>搜索关键词</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align: left;">报告字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>默认</th>
<th>注释</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">report_id</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>报告id</td>
</tr>
<tr>
<td style="text-align: left;">goods_id</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>产品id</td>
</tr>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>标题</td>
</tr>
<tr>
<td style="text-align: left;">image</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>图片</td>
</tr>
<tr>
<td style="text-align: left;">label</td>
<td style="text-align: left;">varchar(20)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>标签</td>
</tr>
<tr>
<td style="text-align: left;">link</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>报告链接</td>
</tr>
<tr>
<td style="text-align: left;">download</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>下载量</td>
</tr>
<tr>
<td style="text-align: left;">addtime</td>
<td style="text-align: left;">int(10)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>注册时间</td>
</tr>
<tr>
<td style="text-align: left;">sort</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>热门排序</td>
</tr>
<tr>
<td style="text-align: left;">keyword</td>
<td style="text-align: left;">varchar(30)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>搜索关键词</td>
</tr>
</tbody>
</table>