图片分享详情接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>图片分享详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:5050/photo_sharing/detail</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">pid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>图片系列编号</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> [
RowDataPacket {
pid: 1,
title: 'Apple MacBookAir系列',
category_id: '1',
image_links1: '/img/photo/photo_category/apple macbookair 系列/apple (1).jpg'
},
RowDataPacket {
pid: 1,
title: 'Apple MacBookAir系列',
category_id: '1',
image_links1: '/img/photo/photo_category/apple macbookair 系列/apple (2).jpg'
},
RowDataPacket {
pid: 1,
title: 'Apple MacBookAir系列',
category_id: '1',
image_links1: '/img/photo/photo_category/apple macbookair 系列/apple (3).jpg'
},
RowDataPacket {
pid: 1,
title: 'Apple MacBookAir系列',
category_id: '1',
image_links1: '/img/photo/photo_category/apple macbookair 系列/apple (4).jpg'
},
RowDataPacket {
pid: 1,
title: 'Apple MacBookAir系列',
category_id: '1',
image_links1: '/img/photo/photo_category/apple macbookair 系列/apple (5).jpg'
}
]</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">pid</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">Id</td>
</tr>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;">varchar</td>
<td style="text-align: left;">系列标题</td>
</tr>
<tr>
<td style="text-align: left;">category_id</td>
<td style="text-align: left;">varchar</td>
<td style="text-align: left;">系列id</td>
</tr>
<tr>
<td style="text-align: left;">image_links</td>
<td style="text-align: left;">varchar</td>
<td style="text-align: left;">图片链接</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>