列表
<h2>列表</h2>
<p><strong>接口地址</strong>:<code>/system/emergency-resource/list</code></p>
<p><strong>不分页地址</strong>:<code>/list-no-page</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:<p>列表</p></p>
<p><strong>请求参数</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
</tr>
</thead>
<tbody>
<tr>
<td>pageNum</td>
<td>当前页码</td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>pageSize</td>
<td>每页数据量</td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>resourceName</td>
<td>资源名称</td>
<td>query</td>
<td>false</td>
<td>string</td>
</tr>
<tr>
<td>resourceType</td>
<td>资源分类</td>
<td>query</td>
<td>false</td>
<td>string</td>
</tr>
<tr>
<td>resourceDisposable</td>
<td>是否为一次性:1是 0不是</td>
<td>query</td>
<td>false</td>
<td>string</td>
</tr>
</tbody>
</table>
<p>以上resourceType 取字典表,resource_type</p>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>OK</td>
<td>ResponsePageInfo«CommunityDangqunServiceCenter»</td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
</tr>
</tbody>
</table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>消息状态码</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>msg</td>
<td>消息内容</td>
<td>string</td>
</tr>
<tr>
<td>rows</td>
<td>列表数据</td>
<td>array</td>
<td>CommunityDangqunServiceCenter</td>
</tr>
<tr>
<td>&emsp;&emsp;id</td>
<td>主键id</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;resourceName</td>
<td>资源名称</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;resourceType</td>
<td>资源分类</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;resourceNumber</td>
<td>资源数量</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;resourceDisposable</td>
<td>是否为一次性:1是 0不是</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;resourceImage</td>
<td>资源图片地址</td>
<td>string</td>
</tr>
<tr>
<td>total</td>
<td>总记录数</td>
<td>integer(int64)</td>
<td>integer(int64)</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-javascript">{
&quot;total&quot;: 2,
&quot;rows&quot;: [
{
&quot;id&quot;: 1,
&quot;resourceName&quot;: &quot;资源1&quot;,
&quot;resourceType&quot;: &quot;1&quot;,
&quot;resourceNumber&quot;: 10,
&quot;resourceDisposable&quot;: &quot;1&quot;,
&quot;resourceImage&quot;: null,
&quot;createTime&quot;: null,
&quot;delFlag&quot;: 0
},
{
&quot;id&quot;: 2,
&quot;resourceName&quot;: &quot;资源2&quot;,
&quot;resourceType&quot;: &quot;2&quot;,
&quot;resourceNumber&quot;: 20,
&quot;resourceDisposable&quot;: &quot;1&quot;,
&quot;resourceImage&quot;: null,
&quot;createTime&quot;: null,
&quot;delFlag&quot;: 0
}
],
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;success&quot;
}</code></pre>