shst


获取公司列表(可条件查询)(分页)

<p>[TOC]</p> <hr /> <h3>接口说明</h3> <ul> <li>获取公司列表(可条件查询)(分页)</li> </ul> <h3>接口地址</h3> <ul> <li><code>http://xxx.com/company/getList</code></li> </ul> <h3>请求方式</h3> <ul> <li>GET</li> </ul> <h3>请求参数</h3> <ul> <li><strong>请求行</strong></li> </ul> <table> <thead> <tr> <th style="text-align: center;">参数名</th> <th style="text-align: center;">类型</th> <th style="text-align: center;">是否必选</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">name</td> <td style="text-align: center;">String</td> <td style="text-align: center;">×</td> <td>公司名称</td> </tr> <tr> <td style="text-align: center;">address</td> <td style="text-align: center;">String</td> <td style="text-align: center;">×</td> <td>公司地址</td> </tr> <tr> <td style="text-align: center;">contact</td> <td style="text-align: center;">String</td> <td style="text-align: center;">×</td> <td>联系人</td> </tr> <tr> <td style="text-align: center;">contactTel</td> <td style="text-align: center;">String</td> <td style="text-align: center;">×</td> <td>联系电话</td> </tr> <tr> <td style="text-align: center;">breedingWater</td> <td style="text-align: center;">String</td> <td style="text-align: center;">×</td> <td>养殖水源</td> </tr> <tr> <td style="text-align: center;">breedingArea</td> <td style="text-align: center;">String</td> <td style="text-align: center;">×</td> <td>养殖面积</td> </tr> <tr> <td style="text-align: center;">page</td> <td style="text-align: center;">int</td> <td style="text-align: center;">×</td> <td>当前页 (0时默认为1)</td> </tr> <tr> <td style="text-align: center;">size</td> <td style="text-align: center;">int</td> <td style="text-align: center;">×</td> <td>每页显示条数(0时默认为10)</td> </tr> </tbody> </table> <ul> <li><strong>请求头</strong></li> </ul> <table> <thead> <tr> <th style="text-align: center;">参数名</th> <th style="text-align: center;">类型</th> <th style="text-align: center;">是否必选</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">ut</td> <td style="text-align: center;">string</td> <td style="text-align: center;">√</td> <td>token密钥</td> </tr> </tbody> </table> <h3>响应数据</h3> <table> <thead> <tr> <th style="text-align: center;">参数名</th> <th style="text-align: center;">类型</th> <th style="text-align: center;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">res</td> <td style="text-align: center;">String</td> <td style="text-align: center;">1:成功,0:失败</td> </tr> <tr> <td style="text-align: center;">msg</td> <td style="text-align: center;">String</td> <td style="text-align: center;">提示信息</td> </tr> <tr> <td style="text-align: center;">data</td> <td style="text-align: center;">Object</td> <td style="text-align: center;">响应数据</td> </tr> <tr> <td style="text-align: center;">error</td> <td style="text-align: center;">String</td> <td style="text-align: center;">错误信息</td> </tr> <tr> <td style="text-align: center;">count</td> <td style="text-align: center;">String</td> <td style="text-align: center;">数量</td> </tr> </tbody> </table> <h3>响应数据data说明</h3> <table> <thead> <tr> <th style="text-align: center;">参数名</th> <th style="text-align: center;">类型</th> <th style="text-align: center;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">companyId</td> <td style="text-align: center;">String</td> <td style="text-align: center;">公司id</td> </tr> <tr> <td style="text-align: center;">proImg</td> <td style="text-align: center;">String</td> <td style="text-align: center;">宣传图片</td> </tr> <tr> <td style="text-align: center;">proVideo</td> <td style="text-align: center;">String</td> <td style="text-align: center;">宣传视频</td> </tr> <tr> <td style="text-align: center;">name</td> <td style="text-align: center;">String</td> <td style="text-align: center;">公司名称</td> </tr> <tr> <td style="text-align: center;">address</td> <td style="text-align: center;">String</td> <td style="text-align: center;">公司地址</td> </tr> <tr> <td style="text-align: center;">contact</td> <td style="text-align: center;">String</td> <td style="text-align: center;">联系人</td> </tr> <tr> <td style="text-align: center;">contactTel</td> <td style="text-align: center;">String</td> <td style="text-align: center;">联系电话</td> </tr> <tr> <td style="text-align: center;">breedingWater</td> <td style="text-align: center;">String</td> <td style="text-align: center;">养殖水源</td> </tr> <tr> <td style="text-align: center;">breedingArea</td> <td style="text-align: center;">String</td> <td style="text-align: center;">养殖面试</td> </tr> <tr> <td style="text-align: center;">isDel</td> <td style="text-align: center;">int</td> <td style="text-align: center;">是否删除 0未删除 1已删除</td> </tr> <tr> <td style="text-align: center;">addTime</td> <td style="text-align: center;">String</td> <td style="text-align: center;">添加时间</td> </tr> <tr> <td style="text-align: center;">updTime</td> <td style="text-align: center;">String</td> <td style="text-align: center;">修改时间</td> </tr> </tbody> </table> <h3>响应示例</h3> <pre><code>{     &amp;quot;res&amp;quot;: 1,     &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot;,     &amp;quot;data&amp;quot;: [         {             &amp;quot;companyId&amp;quot;: &amp;quot;bc2c65d8948c4cc2b268676dbfd0c5a8&amp;quot;, //公司id             &amp;quot;proImg&amp;quot;: &amp;quot;555&amp;quot;, //宣传图片             &amp;quot;proVideo&amp;quot;: &amp;quot;555&amp;quot;, //宣传视频             &amp;quot;name&amp;quot;: &amp;quot;555&amp;quot;, //公司名称             &amp;quot;address&amp;quot;: &amp;quot;555&amp;quot;, //公司地址             &amp;quot;contact&amp;quot;: &amp;quot;555&amp;quot;, //联系人             &amp;quot;contactTel&amp;quot;: &amp;quot;555&amp;quot;, //联系电话             &amp;quot;breedingWater&amp;quot;: &amp;quot;555&amp;quot;, //养殖水源             &amp;quot;breedingArea&amp;quot;: &amp;quot;555&amp;quot;, //养殖面试             &amp;quot;isDel&amp;quot;: 0, //是否删除 0未删除 1已删除             &amp;quot;addTime&amp;quot;: &amp;quot;2023-03-06 17:16:59&amp;quot;, //添加时间             &amp;quot;updTime&amp;quot;: &amp;quot;2023-03-06 17:16:59&amp;quot; //修改时间         }     ],     &amp;quot;count&amp;quot;: 1,     &amp;quot;error&amp;quot;: null }</code></pre> <pre><code>{     &amp;quot;res&amp;quot;: 1,     &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot;,     &amp;quot;data&amp;quot;: [         {             &amp;quot;companyId&amp;quot;: &amp;quot;bc2c65d8948c4cc2b268676dbfd0c5a8&amp;quot;, //公司id             &amp;quot;proImg&amp;quot;: &amp;quot;555&amp;quot;, //宣传图片             &amp;quot;proVideo&amp;quot;: &amp;quot;555&amp;quot;, //宣传视频             &amp;quot;name&amp;quot;: &amp;quot;555&amp;quot;, //公司名称             &amp;quot;address&amp;quot;: &amp;quot;555&amp;quot;, //公司地址             &amp;quot;contact&amp;quot;: &amp;quot;555&amp;quot;, //联系人             &amp;quot;contactTel&amp;quot;: &amp;quot;555&amp;quot;, //联系电话             &amp;quot;breedingWater&amp;quot;: &amp;quot;555&amp;quot;, //养殖水源             &amp;quot;breedingArea&amp;quot;: &amp;quot;555&amp;quot;, //养殖面试             &amp;quot;isDel&amp;quot;: 0, //是否删除 0未删除 1已删除             &amp;quot;addTime&amp;quot;: &amp;quot;2023-03-06 17:16:59&amp;quot;, //添加时间             &amp;quot;updTime&amp;quot;: &amp;quot;2023-03-06 17:16:59&amp;quot; //修改时间         }     ],     &amp;quot;count&amp;quot;: 1,     &amp;quot;error&amp;quot;: “查询失败,没有数据,返回所有信息” }</code></pre>

页面列表

ITEM_HTML