个人中心:获取用户的下载列表
<h5>简要描述</h5>
<ul>
<li>个人中心:获取用户的下载列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8500/userDownloadList</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">header</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>用户ID</td>
</tr>
<tr>
<td style="text-align: left;">userSessionId</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>用户会话ID</td>
</tr>
<tr>
<td style="text-align: left;">miniCode</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>小程序标识</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
"pageNum": 1,
"pageSize": 10
}
</code></pre>
<h5>json字段说明</h5>
<table>
<thead>
<tr>
<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;">pageNum</td>
<td style="text-align: left;">是</td>
<td>int</td>
<td>当前页数</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td>int</td>
<td>每页大小</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"data": {
"userDownloadList": [
{
"createTime": "2022-05-28 11:30:26",
"id": 958,
"materialContent": "<p>早!<\/p><p>人生就是一个不断接纳不断抛弃的过程,剔除掉生命中那些浪费精力的无用之事,才能让我们明白认同自己才是最重要的。<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220126\/3b91c03e-53fd-4542-89ec-519bbf0277e1.jpeg",
"materialTypeId": 53,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/671e0e0b-02b4-464b-8f5e-11cc0549cc6e.jpeg",
"materialTypeName": "早安",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 11:30:01",
"id": 1659,
"materialContent": "<p>这个世界上,<br><\/p><p>只有袁隆平爷爷可以说你胖,<\/p><p>因为你的确吃人家大米了!😁😁<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220415\/cfb245e3-928f-4410-a3fd-6d94e738d051.jpg",
"materialTypeId": 26,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/b096541f-72bc-4fa9-99ec-7fd65bc83a4c.jpg",
"materialTypeName": "搞笑",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 11:27:40",
"id": 1659,
"materialContent": "<p>这个世界上,<br><\/p><p>只有袁隆平爷爷可以说你胖,<\/p><p>因为你的确吃人家大米了!😁😁<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220415\/cfb245e3-928f-4410-a3fd-6d94e738d051.jpg",
"materialTypeId": 26,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/b096541f-72bc-4fa9-99ec-7fd65bc83a4c.jpg",
"materialTypeName": "搞笑",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 11:27:23",
"id": 1659,
"materialContent": "<p>这个世界上,<br><\/p><p>只有袁隆平爷爷可以说你胖,<\/p><p>因为你的确吃人家大米了!😁😁<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220415\/cfb245e3-928f-4410-a3fd-6d94e738d051.jpg",
"materialTypeId": 26,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/b096541f-72bc-4fa9-99ec-7fd65bc83a4c.jpg",
"materialTypeName": "搞笑",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 11:26:21",
"id": 956,
"materialContent": "<p>☀✧ʕ̢̣̣̣̣̩̩̩̩•͡˔•ོɁ̡̣̣̣̣̩̩̩̩✧☀•早安\r<\/p><p>别把最好的时光\r<\/p><p>浪费在无谓的等待与犹豫不决中<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220126\/1e5e1ca4-f5b1-4d5e-a2dc-1644cbd5693a.jpeg",
"materialTypeId": 53,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/671e0e0b-02b4-464b-8f5e-11cc0549cc6e.jpeg",
"materialTypeName": "早安",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 11:23:54",
"id": 958,
"materialContent": "<p>早!<\/p><p>人生就是一个不断接纳不断抛弃的过程,剔除掉生命中那些浪费精力的无用之事,才能让我们明白认同自己才是最重要的。<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220126\/3b91c03e-53fd-4542-89ec-519bbf0277e1.jpeg",
"materialTypeId": 53,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/671e0e0b-02b4-464b-8f5e-11cc0549cc6e.jpeg",
"materialTypeName": "早安",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 11:22:33",
"id": 1659,
"materialContent": "<p>这个世界上,<br><\/p><p>只有袁隆平爷爷可以说你胖,<\/p><p>因为你的确吃人家大米了!😁😁<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220415\/cfb245e3-928f-4410-a3fd-6d94e738d051.jpg",
"materialTypeId": 26,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/b096541f-72bc-4fa9-99ec-7fd65bc83a4c.jpg",
"materialTypeName": "搞笑",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 11:19:55",
"id": 1659,
"materialContent": "<p>这个世界上,<br><\/p><p>只有袁隆平爷爷可以说你胖,<\/p><p>因为你的确吃人家大米了!😁😁<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220415\/cfb245e3-928f-4410-a3fd-6d94e738d051.jpg",
"materialTypeId": 26,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/b096541f-72bc-4fa9-99ec-7fd65bc83a4c.jpg",
"materialTypeName": "搞笑",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 10:44:47",
"id": 1617,
"materialContent": "<p>想找个男朋友,有女朋友的我不要,我不喜欢挖别人墙脚,没有女朋友的,我也不要,别人不要的,我也不要😎<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220410\/25481dc5-2e4a-485d-963c-8484bebebaa1.jpg",
"materialTypeId": 26,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/b096541f-72bc-4fa9-99ec-7fd65bc83a4c.jpg",
"materialTypeName": "搞笑",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
},
{
"createTime": "2022-05-28 10:41:21",
"id": 1502,
"materialContent": "<p>昨晚在路边停车等人,<\/p><p>有个脑袋探到窗边问:“走吗?”\r<\/p><p>我心想:我这又不是来拉客的黑车。<\/p><p>于是说:“不走!”\r<\/p><p>过了一会儿他递进来一张罚单。。😅😅<\/p>",
"materialImgUrl": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialImage\/20220325\/74fbd673-a0d5-46ee-8cf4-2f7d16a3ac28.jpg",
"materialTypeId": 26,
"materialTypeLogo": "https:\/\/zktuistatic.oss-cn-shenzhen.aliyuncs.com\/miniProgram\/materialTypeLogo\/20211023\/b096541f-72bc-4fa9-99ec-7fd65bc83a4c.jpg",
"materialTypeName": "搞笑",
"resourceType": 1,
"type": 1,
"videoFormat": "",
"videoHeight": 0,
"videoSize": "0",
"videoUrl": "",
"videoWidth": 0
}
],
"pageResult": {
"currentPage": 1,
"pageSize": 10,
"totalPage": 3,
"totalRecord": 29
}
},
"head": {
"code": 200,
"msg": "成功"
}
}
</code></pre>
<h5>成功返回示例的参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">object</td>
<td>数据</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList</td>
<td style="text-align: left;">array</td>
<td>用户下载素材列表</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.createTime</td>
<td style="text-align: left;">string</td>
<td>下载时间</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.id</td>
<td style="text-align: left;">string</td>
<td>素材ID</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.materialContent</td>
<td style="text-align: left;">string</td>
<td>素材内容</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.materialImgUrl</td>
<td style="text-align: left;">string</td>
<td>素材图片</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.materialBrandId</td>
<td style="text-align: left;">string</td>
<td>素材品牌ID</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.materialTypeId</td>
<td style="text-align: left;">string</td>
<td>素材类型ID</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.materialTypeLogo</td>
<td style="text-align: left;">string</td>
<td>分类Logo地址</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.materialTypeName</td>
<td style="text-align: left;">string</td>
<td>素材类型名称</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.resourceType</td>
<td style="text-align: left;">string</td>
<td>资源类型 (1:文章,2:视频,3:素材)</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.type</td>
<td style="text-align: left;">string</td>
<td>类型:1-首页文章 2-团队文章</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.videoFormat</td>
<td style="text-align: left;">string</td>
<td>视频存储格式</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.videoHeight</td>
<td style="text-align: left;">string</td>
<td>视频高度</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.videoSize</td>
<td style="text-align: left;">string</td>
<td>视频存储大小</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.videoUrl</td>
<td style="text-align: left;">string</td>
<td>视频URL</td>
</tr>
<tr>
<td style="text-align: left;">userDownloadList.videoWidth</td>
<td style="text-align: left;">string</td>
<td>视频宽度</td>
</tr>
<tr>
<td style="text-align: left;">pageResult</td>
<td style="text-align: left;">object</td>
<td>页面信息</td>
</tr>
<tr>
<td style="text-align: left;">pageResult.currentPage</td>
<td style="text-align: left;">string</td>
<td>当前页数</td>
</tr>
<tr>
<td style="text-align: left;">pageResult.pageSize</td>
<td style="text-align: left;">string</td>
<td>每页大小</td>
</tr>
<tr>
<td style="text-align: left;">pageResult.totalPage</td>
<td style="text-align: left;">string</td>
<td>总页数</td>
</tr>
<tr>
<td style="text-align: left;">pageResult.totalRecord</td>
<td style="text-align: left;">string</td>
<td>总记录数</td>
</tr>
<tr>
<td style="text-align: left;">head</td>
<td style="text-align: left;">object</td>
<td>消息头</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">string</td>
<td>返回码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>消息文本</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<p>返回码 code 说明:
110:用户未登录
200:正常
400:客户端异常
500:服务端异常</p>