shst


根据id查询公司信息

<p>[TOC]</p> <hr /> <h3>接口说明</h3> <ul> <li>根据id查询公司信息</li> </ul> <h3>接口地址</h3> <ul> <li><code>http://xxx.com/company/getById</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;">companyId</td> <td style="text-align: center;">String</td> <td style="text-align: center;">√</td> <td>公司id</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;d15004bb541249cfb4b25cf0d7b1ddb8&amp;quot;,         &amp;quot;proImg&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;proVideo&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;name&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;address&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;contact&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;contactTel&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;breedingWater&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;breedingArea&amp;quot;: &amp;quot;111&amp;quot;,         &amp;quot;isDel&amp;quot;: 0,         &amp;quot;addTime&amp;quot;: &amp;quot;2023-03-06 15:30:52&amp;quot;,         &amp;quot;updTime&amp;quot;: &amp;quot;2023-03-06 15:30:52&amp;quot;     },     &amp;quot;count&amp;quot;: 1,     &amp;quot;error&amp;quot;: null }</code></pre> <pre><code>{     &amp;quot;res&amp;quot;: 0,     &amp;quot;msg&amp;quot;: &amp;quot;查询失败,该id不存在&amp;quot;,     &amp;quot;data&amp;quot;: null,     &amp;quot;count&amp;quot;: 0,     &amp;quot;error&amp;quot;: null }</code></pre>

页面列表

ITEM_HTML