默认页面
<h1 style="text-align:center;color:#089">会昌企业帮接口文档V1.0</h1>
<h1>总述</h1>
<h2>1.简介</h2>
<hr />
<p>文档介绍.</p>
<hr />
<h2>2.注意</h2>
<ul>
<li>默认年月日时分秒的日期格式,<u>yyyy-MM-dd HH:mm:ss</u></li>
</ul>
<h2>3.模板</h2>
<hr />
<ul>
<li>接口地址</li>
<li>功能说明</li>
<li>请求参数</li>
<li>请求示例</li>
<li>响应参数</li>
<li>响应示例</li>
</ul>
<h2>4.统一返回结果集格式</h2>
<p><strong>data字段中为实际返回的数据内容</strong></p>
<pre><code class="language-json">{
"code": 200,
"msg": "成功",
"data": { }
}</code></pre>
<h2>5.统一返回结果错误码</h2>
<table>
<thead>
<tr>
<th style="text-align: center;">状态码</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">200</td>
<td style="text-align: center;">成功</td>
</tr>
<tr>
<td style="text-align: center;">500</td>
<td style="text-align: center;">失败</td>
</tr>
<tr>
<td style="text-align: center;">401</td>
<td style="text-align: center;">未授权</td>
</tr>
</tbody>
</table>
<h2>6.用户授权凭证</h2>
<p>用户授权token分为两种,一种是accessToken,用户登录成功后生成,在每次的接口请求中需在head中携带accessToken,另一种为refreshToken,每次请求接口刷新产生新的refreshToken并返回写于head中。</p>
<h2>7.分页统一返回数据格式</h2>
<pre><code class="language-json">{
"success": true,
"code": 200,
"message": "成功",
"data": {
"total": 1,
"size": 10,
"current": 1,
"pages": 1
}
}
}</code></pre>
<table>
<thead>
<tr>
<th style="text-align: center;">参数名</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">total</td>
<td style="text-align: center;">总记录数</td>
</tr>
<tr>
<td style="text-align: center;">size</td>
<td style="text-align: center;">每页记录数(默认10条)</td>
</tr>
<tr>
<td style="text-align: center;">current</td>
<td style="text-align: center;">当前页码(从1开始)</td>
</tr>
<tr>
<td style="text-align: center;">pages</td>
<td style="text-align: center;">总页数</td>
</tr>
</tbody>
</table>
<h1>会昌企业帮接口</h1>
<h1>0.应急模块</h1>
<h2>0.1 获取anyrtc token</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/anyrtc/getToken</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取rtmToken和rtcToken</li>
</ul>
<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;">userId</td>
<td style="text-align: center;">用户ID</td>
<td style="text-align: center;">Y</td>
</tr>
<tr>
<td style="text-align: center;">groupId</td>
<td style="text-align: center;">群聊ID</td>
<td style="text-align: center;">N</td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"> {
"userId":1,
"groupId":3
}</code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">rtmToken</td>
<td style="text-align: center;"></td>
</tr>
<tr>
<td style="text-align: center;">rtcToken</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 0,
"data": {
"rtmToken": "0065c11506b6e14261d495f86d07991b898IAClVpnYxUm8c2lUAZ7y4cmwONxIrM1DkfALnl/LV2tqNrfv3IMAAAAAEAAYSLk+E6ZOYQEA6AMAAAAA",
"rtcToken": "0065c11506b6e14261d495f86d07991b898IADg8FJY7RbSfty401xqV7MD+qHOGs8L5EQT1bTz2GwHunafT0K379yDIgARIpIyE6ZOYQQAAQCTVE1hAgCTVE1hAwCTVE1hBACTVE1h"
}
}</code></pre>
<h1>3.用户模块</h1>
<h2>3.0 获取短信验证码</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/msm/send/{phone}</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取短信验证码</li>
</ul>
<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;">phone</td>
<td style="text-align: center;">手机号</td>
<td style="text-align: center;">Y</td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<p>/api/app/msm/send/17324386047</p>
<h3>响应参数</h3>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200
}</code></pre>
<h2>3.1 登录接口</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/login</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>登录</li>
</ul>
<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;">phone</td>
<td style="text-align: center;">手机号</td>
<td style="text-align: center;">Y</td>
</tr>
<tr>
<td style="text-align: center;">password</td>
<td style="text-align: center;">密码</td>
<td style="text-align: center;">N</td>
</tr>
<tr>
<td style="text-align: center;">code</td>
<td style="text-align: center;">验证码</td>
<td style="text-align: center;">N</td>
</tr>
<tr>
<td style="text-align: center;">checkType</td>
<td style="text-align: center;">0-密码登录;1-短信验证码登录;2-短信验证码修改密码并登录</td>
<td style="text-align: center;">Y</td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json">{
"phone":"17324386047",
"code":"123456",
"checkType":"1"
}</code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">nickName</td>
<td style="text-align: center;">昵称</td>
</tr>
<tr>
<td style="text-align: center;">trueName</td>
<td style="text-align: center;">真实姓名</td>
</tr>
<tr>
<td style="text-align: center;">username</td>
<td style="text-align: center;">账户名</td>
</tr>
<tr>
<td style="text-align: center;">accessToken</td>
<td style="text-align: center;">鉴权token</td>
</tr>
<tr>
<td style="text-align: center;">roles</td>
<td style="text-align: center;">角色列表</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 0,
"data": {
"userInfo": {
"userId": 2,
"username": "xiebaofa",
"nickName": "发哥",
"avatar": null,
"sex": 1,
"phone": "17324386047",
"email": null,
"trueName": "谢宝发",
"idCard": null,
"birthday": null,
"introduction": null,
"orgId": 2,
"post": "Java工程师",
"officeTel": null,
"offieAddr": "智研院",
"roles": [
{
"roleId": 1,
"roleName": "管理员",
"roleCode": "admin",
"comments": "管理员",
"createTime": "2020/02/26 15:18:37",
"updateTime": "2020/03/21 15:15:54",
"deleted": 0,
"userId": 3723
}
]
},
"accessToken": "eyJhbGciOiJIUzUxMiJ9.eyJuYW1lIjoi6LCi5a6d5Y-RIiwicGFzc3dvcmQiOiIyMDJjYjk2MmFjNTkwNzViOTY0YjA3MTUyZDIzNGI3MCIsImV4cCI6MTYzMjQ1NTczNywidXNlcklkIjoiMiIsImlhdCI6MTYzMjQ1MjEzN30.BiysezNZ-Y37d38YoINvuHEgIucqXRztcFQaegMeN7P8sYxqbNe_rz1306_KZAcrq5ljDFkylEGwd4ZXS4fQwg"
}
}</code></pre>
<h2>3.2 用户信息</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/userInfo</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>用户信息(页面:我的)</li>
</ul>
<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;">userId</td>
<td style="text-align: center;">用户ID</td>
<td style="text-align: center;">Y</td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"> {
"userId":2
}</code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">userId</td>
<td style="text-align: center;">用户ID</td>
</tr>
<tr>
<td style="text-align: center;">username</td>
<td style="text-align: center;">用户名</td>
</tr>
<tr>
<td style="text-align: center;">trueName</td>
<td style="text-align: center;">真实姓名</td>
</tr>
<tr>
<td style="text-align: center;">phone</td>
<td style="text-align: center;">手机号</td>
</tr>
<tr>
<td style="text-align: center;">imId</td>
<td style="text-align: center;">即时通信ID</td>
</tr>
<tr>
<td style="text-align: center;">avatar</td>
<td style="text-align: center;">头像</td>
</tr>
<tr>
<td style="text-align: center;">sex</td>
<td style="text-align: center;">性别:0-男,1-女</td>
</tr>
<tr>
<td style="text-align: center;">officeTel</td>
<td style="text-align: center;">办公电话</td>
</tr>
<tr>
<td style="text-align: center;">offieAddr</td>
<td style="text-align: center;">办公地址</td>
</tr>
<tr>
<td style="text-align: center;">post</td>
<td style="text-align: center;">职务</td>
</tr>
<tr>
<td style="text-align: center;">orgName</td>
<td style="text-align: center;">单位名</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 0,
"data": {
"userId": 2,
"username": "xiebaofa",
"avatar": null,
"sex": 0,
"phone": "17324386047",
"trueName": "谢宝发",
"officeTel": null,
"offieAddr": "产业园",
"orgId": "10",
"post": "java工程师",
"orgName": "赣州智研院"
}
}</code></pre>
<h1>4.产业平衡</h1>
<h2>4.1 获取图表数据</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/industryBalance/getHistoryData</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取产业平衡变化趋势历史数据</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">id</td>
<td style="text-align: center;">id</td>
</tr>
<tr>
<td style="text-align: center;">chemicalsName</td>
<td style="text-align: center;">化学物质名称</td>
</tr>
<tr>
<td style="text-align: center;">production</td>
<td style="text-align: center;">产量(吨)</td>
</tr>
<tr>
<td style="text-align: center;">consumption</td>
<td style="text-align: center;">消耗量(吨)</td>
</tr>
<tr>
<td style="text-align: center;">allowance</td>
<td style="text-align: center;">余量(吨)</td>
</tr>
<tr>
<td style="text-align: center;">allowanceRate</td>
<td style="text-align: center;">余量占比</td>
</tr>
<tr>
<td style="text-align: center;">trend</td>
<td style="text-align: center;">趋势(0-减少,1-增加)</td>
</tr>
<tr>
<td style="text-align: center;">healthyStatus</td>
<td style="text-align: center;">健康状态(0-健康,1-正常,2-异常)</td>
</tr>
<tr>
<td style="text-align: center;">month</td>
<td style="text-align: center;">月份(202109)</td>
</tr>
<tr>
<td style="text-align: center;">updateTime</td>
<td style="text-align: center;">更新时间</td>
</tr>
<tr>
<td style="text-align: center;">healthyStatusName</td>
<td style="text-align: center;">健康状态</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": {
"Cl2": [
{
"id": 1,
"chemicalsName": "Cl2",
"production": 10000.00,
"consumption": 7000.00,
"allowance": 3000.00,
"allowanceRate": 30.00,
"trend": 1,
"healthyStatus": 0,
"month": "202108",
"updateTime": "2021/09/23 11:37:41",
"healthyStatusName": "健康"
},
{
"id": 5,
"chemicalsName": "Cl2",
"production": 20000.00,
"consumption": 18000.00,
"allowance": 2000.00,
"allowanceRate": 10.00,
"trend": 0,
"healthyStatus": 1,
"month": "202109",
"updateTime": "2021/09/23 15:44:22",
"healthyStatusName": "正常"
}
],
"HF": [
{
"id": 2,
"chemicalsName": "HF",
"production": 200000.00,
"consumption": 190000.00,
"allowance": 10000.00,
"allowanceRate": 5.00,
"trend": 0,
"healthyStatus": 1,
"month": "202108",
"updateTime": "2021/09/23 11:48:40",
"healthyStatusName": "正常"
},
{
"id": 12,
"chemicalsName": "HF",
"production": 30000.00,
"consumption": 20000.00,
"allowance": 10000.00,
"allowanceRate": 33.33,
"trend": 1,
"healthyStatus": 0,
"month": "202109",
"updateTime": "2021/09/24 09:37:55",
"healthyStatusName": "健康"
}
],
"HCl": [
{
"id": 4,
"chemicalsName": "HCl",
"production": 80000.00,
"consumption": 40000.00,
"allowance": 40000.00,
"allowanceRate": 50.00,
"trend": 1,
"healthyStatus": 2,
"month": "202108",
"updateTime": "2021/09/23 15:42:33",
"healthyStatusName": "异常"
},
{
"id": 13,
"chemicalsName": "HCl",
"production": 80000.00,
"consumption": 60000.00,
"allowance": 20000.00,
"allowanceRate": 25.00,
"trend": 0,
"healthyStatus": 0,
"month": "202109",
"updateTime": "2021/09/26 15:19:06",
"healthyStatusName": "健康"
}
],
"NaOH": [
{
"id": 3,
"chemicalsName": "NaOH",
"production": 80000.00,
"consumption": 40000.00,
"allowance": 40000.00,
"allowanceRate": 50.00,
"trend": 1,
"healthyStatus": 2,
"month": "202108",
"updateTime": "2021/09/23 11:50:11",
"healthyStatusName": "异常"
},
{
"id": 14,
"chemicalsName": "NaOH",
"production": 60000.00,
"consumption": 40000.00,
"allowance": 20000.00,
"allowanceRate": 33.33,
"trend": 0,
"healthyStatus": 0,
"month": "202109",
"updateTime": "2021/09/26 15:20:16",
"healthyStatusName": "健康"
}
]
}
}</code></pre>
<h2>4.2 获取数据列表</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/industryBalance/getDataList</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取产业平衡数据列表</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">id</td>
<td style="text-align: center;">id</td>
</tr>
<tr>
<td style="text-align: center;">chemicalsName</td>
<td style="text-align: center;">化学物质名称</td>
</tr>
<tr>
<td style="text-align: center;">production</td>
<td style="text-align: center;">产量(吨)</td>
</tr>
<tr>
<td style="text-align: center;">consumption</td>
<td style="text-align: center;">消耗量(吨)</td>
</tr>
<tr>
<td style="text-align: center;">allowance</td>
<td style="text-align: center;">余量(吨)</td>
</tr>
<tr>
<td style="text-align: center;">allowanceRate</td>
<td style="text-align: center;">余量占比</td>
</tr>
<tr>
<td style="text-align: center;">trend</td>
<td style="text-align: center;">趋势(0-减少,1-增加)</td>
</tr>
<tr>
<td style="text-align: center;">healthyStatus</td>
<td style="text-align: center;">健康状态(0-健康,1-正常,2-异常)</td>
</tr>
<tr>
<td style="text-align: center;">month</td>
<td style="text-align: center;">月份(202109)</td>
</tr>
<tr>
<td style="text-align: center;">updateTime</td>
<td style="text-align: center;">更新时间</td>
</tr>
<tr>
<td style="text-align: center;">healthyStatusName</td>
<td style="text-align: center;">健康状态</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": [
{
"id": 5,
"chemicalsName": "Cl2",
"production": 20000.00,
"consumption": 18000.00,
"allowance": 2000.00,
"allowanceRate": 10.00,
"trend": 0,
"healthyStatus": 1,
"month": "202109",
"updateTime": "2021/09/23 15:44:22",
"healthyStatusName": "正常"
},
{
"id": 12,
"chemicalsName": "HF",
"production": 30000.00,
"consumption": 20000.00,
"allowance": 10000.00,
"allowanceRate": 33.33,
"trend": 1,
"healthyStatus": 0,
"month": "202109",
"updateTime": "2021/09/24 09:37:55",
"healthyStatusName": "健康"
},
{
"id": 13,
"chemicalsName": "HCl",
"production": 80000.00,
"consumption": 60000.00,
"allowance": 20000.00,
"allowanceRate": 25.00,
"trend": 0,
"healthyStatus": 0,
"month": "202109",
"updateTime": "2021/09/26 15:19:06",
"healthyStatusName": "健康"
},
{
"id": 14,
"chemicalsName": "NaOH",
"production": 60000.00,
"consumption": 40000.00,
"allowance": 20000.00,
"allowanceRate": 33.33,
"trend": 0,
"healthyStatus": 0,
"month": "202109",
"updateTime": "2021/09/26 15:20:16",
"healthyStatusName": "健康"
}
]
}</code></pre>
<h1>5.产业图谱</h1>
<h2>5.1 获取图谱数据</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/industryMap/getData</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取产业图谱数据</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">productId</td>
<td style="text-align: center;">产品id</td>
</tr>
<tr>
<td style="text-align: center;">productName</td>
<td style="text-align: center;">产品名称</td>
</tr>
<tr>
<td style="text-align: center;">isOriginal</td>
<td style="text-align: center;">是否原始产品(最上游产品):0-是,1-否</td>
</tr>
<tr>
<td style="text-align: center;">associatedCompany</td>
<td style="text-align: center;">关联企业id集合</td>
</tr>
<tr>
<td style="text-align: center;">associatedCompanyList</td>
<td style="text-align: center;">关联企业列表信息(详见2.1参数说明)</td>
</tr>
<tr>
<td style="text-align: center;">annualCapacity</td>
<td style="text-align: center;">年产能</td>
</tr>
<tr>
<td style="text-align: center;">productFeatures</td>
<td style="text-align: center;">产品特性</td>
</tr>
<tr>
<td style="text-align: center;">useInfo</td>
<td style="text-align: center;">用途</td>
</tr>
<tr>
<td style="text-align: center;">rawMaterial</td>
<td style="text-align: center;">原料</td>
</tr>
<tr>
<td style="text-align: center;">downstreamProducts</td>
<td style="text-align: center;">下游产品</td>
</tr>
<tr>
<td style="text-align: center;">downstreamProductsList</td>
<td style="text-align: center;">下游产品信息列表</td>
</tr>
<tr>
<td style="text-align: center;">updateTime</td>
<td style="text-align: center;">更新时间</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": [
{
"productId": 1,
"productName": "硫酸",
"isOriginal": 0,
"associatedCompany": "1,2",
"associatedCompanyList": [
{
"id": 1,
"name": "赣州智能产业创新研究院",
"shortName": "赣州智研院",
"logo": "http://www.ganzhouii.logo.com",
"product": "企业产品A,企业产品B",
"industryType": "有机化工",
"legalRepr": "赵六",
"safeOfficer": "李四",
"environmentOfficer": "张三",
"phone": "15728669966",
"address": "江西省赣州市经开区高层次人才产业园",
"registerCapital": 1000000.00,
"setupDate": "2019-07-10",
"intro": "这是我的名片。",
"creditCode": "52360700MJC9876943",
"companyType": "国有企业",
"companyEmail": "ganzhouii@ganzhouii.com",
"contributedCapital": 200000.00,
"operatingState": 2,
"businessDate": "2021-09-14",
"companySize": "50-200",
"longitude": 114.7440645,
"latitude": 25.6543594,
"companyUrl": "http://ganzhouii.com/",
"commissioningDate": "2021-09-01",
"auditDate": "2021-09-16",
"registrationAuthority": "赣州市经开区工商局",
"businessScope": "一、智能产品、电子信息技术产品及软件的技术研发、技术咨询、技术服务、技术转让。二、大数据资源的整合、应用、开发、服务和运营。",
"updateTime": "2021/09/22 11:55:42"
},
{
"id": 2,
"name": "江西冠英科技有限公司",
"shortName": "江西冠英科技",
"logo": "http://www.ganzhouii.logo.com",
"product": "企业产品1,企业产品2",
"industryType": "有机化工2",
"legalRepr": "王一",
"safeOfficer": "王二",
"environmentOfficer": "王三",
"phone": "15728669966",
"address": "江西省赣州市经开区高层次人才产业园AAA",
"registerCapital": 1000000.00,
"setupDate": "2020-09-15",
"intro": "1000000.00",
"creditCode": "52360700MJC98769XX",
"companyType": "国有企业",
"companyEmail": null,
"contributedCapital": 200000.00,
"operatingState": 2,
"businessDate": null,
"companySize": null,
"longitude": null,
"latitude": null,
"companyUrl": null,
"commissioningDate": null,
"auditDate": null,
"registrationAuthority": "赣州市经开区工商局",
"businessScope": null,
"updateTime": "2021/09/23 11:14:25"
}
],
"annualCapacity": 1000.00,
"productFeatures": "强酸性",
"useInfo": "制备氢氟酸的原料",
"rawMaterial": "购入",
"downstreamProducts": "氢氟酸,氯气",
"downstreamProductsList": [
{
"productId": 2,
"productName": "氢氟酸",
"isOriginal": 1,
"associatedCompany": "1",
"associatedCompanyList": [
{
"id": 1,
"name": "赣州智能产业创新研究院",
"shortName": "赣州智研院",
"logo": "http://www.ganzhouii.logo.com",
"product": "企业产品A,企业产品B",
"industryType": "有机化工",
"legalRepr": "赵六",
"safeOfficer": "李四",
"environmentOfficer": "张三",
"phone": "15728669966",
"address": "江西省赣州市经开区高层次人才产业园",
"registerCapital": 1000000.00,
"setupDate": "2019-07-10",
"intro": "这是我的名片。",
"creditCode": "52360700MJC9876943",
"companyType": "国有企业",
"companyEmail": "ganzhouii@ganzhouii.com",
"contributedCapital": 200000.00,
"operatingState": 2,
"businessDate": "2021-09-14",
"companySize": "50-200",
"longitude": 114.7440645,
"latitude": 25.6543594,
"companyUrl": "http://ganzhouii.com/",
"commissioningDate": "2021-09-01",
"auditDate": "2021-09-16",
"registrationAuthority": "赣州市经开区工商局",
"businessScope": "一、智能产品、电子信息技术产品及软件的技术研发、技术咨询、技术服务、技术转让。二、大数据资源的整合、应用、开发、服务和运营。",
"updateTime": "2021/09/22 11:55:42"
}
],
"annualCapacity": 500.00,
"productFeatures": "强腐蚀性",
"useInfo": "制备氯气的原料",
"rawMaterial": "购入",
"downstreamProducts": "氢氧化钠",
"downstreamProductsList": [
{
"productId": 4,
"productName": "氢氧化钠",
"isOriginal": 1,
"associatedCompany": "1",
"associatedCompanyList": [
{
"id": 1,
"name": "赣州智能产业创新研究院",
"shortName": "赣州智研院",
"logo": "http://www.ganzhouii.logo.com",
"product": "企业产品A,企业产品B",
"industryType": "有机化工",
"legalRepr": "赵六",
"safeOfficer": "李四",
"environmentOfficer": "张三",
"phone": "15728669966",
"address": "江西省赣州市经开区高层次人才产业园",
"registerCapital": 1000000.00,
"setupDate": "2019-07-10",
"intro": "这是我的名片。",
"creditCode": "52360700MJC9876943",
"companyType": "国有企业",
"companyEmail": "ganzhouii@ganzhouii.com",
"contributedCapital": 200000.00,
"operatingState": 2,
"businessDate": "2021-09-14",
"companySize": "50-200",
"longitude": 114.7440645,
"latitude": 25.6543594,
"companyUrl": "http://ganzhouii.com/",
"commissioningDate": "2021-09-01",
"auditDate": "2021-09-16",
"registrationAuthority": "赣州市经开区工商局",
"businessScope": "一、智能产品、电子信息技术产品及软件的技术研发、技术咨询、技术服务、技术转让。二、大数据资源的整合、应用、开发、服务和运营。",
"updateTime": "2021/09/22 11:55:42"
}
],
"annualCapacity": 2021.00,
"productFeatures": "强碱性",
"useInfo": "用于制造工业产品",
"rawMaterial": "自产",
"downstreamProducts": " ",
"downstreamProductsList": [],
"updateTime": "2021/09/24 15:28:37"
}
],
"updateTime": "2021/09/24 15:02:08"
},
{
"productId": 3,
"productName": "氯气",
"isOriginal": 1,
"associatedCompany": "2",
"associatedCompanyList": [
{
"id": 2,
"name": "江西冠英科技有限公司",
"shortName": "江西冠英科技",
"logo": "http://www.ganzhouii.logo.com",
"product": "企业产品1,企业产品2",
"industryType": "有机化工2",
"legalRepr": "王一",
"safeOfficer": "王二",
"environmentOfficer": "王三",
"phone": "15728669966",
"address": "江西省赣州市经开区高层次人才产业园AAA",
"registerCapital": 1000000.00,
"setupDate": "2020-09-15",
"intro": "1000000.00",
"creditCode": "52360700MJC98769XX",
"companyType": "国有企业",
"companyEmail": null,
"contributedCapital": 200000.00,
"operatingState": 2,
"businessDate": null,
"companySize": null,
"longitude": null,
"latitude": null,
"companyUrl": null,
"commissioningDate": null,
"auditDate": null,
"registrationAuthority": "赣州市经开区工商局",
"businessScope": null,
"updateTime": "2021/09/23 11:14:25"
}
],
"annualCapacity": 20200.00,
"productFeatures": "有毒气体",
"useInfo": "工业原料",
"rawMaterial": "购入",
"downstreamProducts": "",
"downstreamProductsList": [],
"updateTime": "2021/09/24 15:02:54"
}
],
"updateTime": "2021/09/24 14:59:01"
}
]
}</code></pre>
<h1>6.综合信息一览</h1>
<h2>6.1 获取产业数据</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/comprehensive/getIndustry</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取产业数据</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">companyCount</td>
<td style="text-align: center;">企业总数</td>
</tr>
<tr>
<td style="text-align: center;">monthGdp</td>
<td style="text-align: center;">月总产值(元)</td>
</tr>
<tr>
<td style="text-align: center;">changeValue</td>
<td style="text-align: center;">产值同比变化值</td>
</tr>
<tr>
<td style="text-align: center;">trend</td>
<td style="text-align: center;">变化趋势(0-减少,1-增加)</td>
</tr>
<tr>
<td style="text-align: center;">Cl2_AllowanceRate</td>
<td style="text-align: center;">氯气余量占比</td>
</tr>
<tr>
<td style="text-align: center;">HF_AllowanceRate</td>
<td style="text-align: center;">氢氟酸余量占比</td>
</tr>
<tr>
<td style="text-align: center;">HCl_AllowanceRate</td>
<td style="text-align: center;">盐酸余量占比</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": {
"companyCount": 42,
"monthGdp": 32652,
"changeValue": 7.2,
"trend": 0,
"Cl2_AllowanceRate": 4.18,
"HF_AllowanceRate": 28.34,
"HCl_AllowanceRate": 17.98
}
}</code></pre>
<h2>6.2 获取安全数据</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/comprehensive/getSafety</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取安全数据</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">hazards</td>
<td style="text-align: center;">危险源</td>
</tr>
<tr>
<td style="text-align: center;">safeHidden</td>
<td style="text-align: center;">安全隐患</td>
</tr>
<tr>
<td style="text-align: center;">hiddenPerils</td>
<td style="text-align: center;">隐患排查数</td>
</tr>
<tr>
<td style="text-align: center;">alerts</td>
<td style="text-align: center;">报警次数</td>
</tr>
<tr>
<td style="text-align: center;">redRisk</td>
<td style="text-align: center;">红色风险企业数</td>
</tr>
<tr>
<td style="text-align: center;">orangeRisk</td>
<td style="text-align: center;">橙色风险企业数</td>
</tr>
<tr>
<td style="text-align: center;">yellowRisk</td>
<td style="text-align: center;">黄色风险企业数</td>
</tr>
<tr>
<td style="text-align: center;">blueRisk</td>
<td style="text-align: center;">蓝色风险企业数</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": {
"hazards": 42,
"safeHidden": 3,
"hiddenPerils": 4,
"alerts": 5,
"redRisk": 3,
"orangeRisk": 12,
"yellowRisk": 10,
"blueRisk": 17
}
}</code></pre>
<h2>6.3 获取环保数据</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/comprehensive/getEnvirProtection</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取环保数据</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">sewageOutlet</td>
<td style="text-align: center;">污水排口处</td>
</tr>
<tr>
<td style="text-align: center;">wasteGasOutlet</td>
<td style="text-align: center;">废气排口处</td>
</tr>
<tr>
<td style="text-align: center;">hazardousWastePoint</td>
<td style="text-align: center;">危废存放点</td>
</tr>
<tr>
<td style="text-align: center;">totalExceedances</td>
<td style="text-align: center;">总超标次数</td>
</tr>
<tr>
<td style="text-align: center;">totalInspector</td>
<td style="text-align: center;">总督察次数</td>
</tr>
<tr>
<td style="text-align: center;">excessiveCompany</td>
<td style="text-align: center;">超标企业数</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": {
"sewageOutlet": 42,
"wasteGasOutlet": 312,
"hazardousWastePoint": 42,
"totalExceedances": 45,
"totalInspector": 44,
"excessiveCompany": 2
}
}</code></pre>
<h2>6.4 获取应急数据</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/comprehensive/getEmergency</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取应急数据</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">riskSource</td>
<td style="text-align: center;">风险源</td>
</tr>
<tr>
<td style="text-align: center;">riskReport</td>
<td style="text-align: center;">风险上报总数</td>
</tr>
<tr>
<td style="text-align: center;">shelter</td>
<td style="text-align: center;">避难所数</td>
</tr>
<tr>
<td style="text-align: center;">protectiveGoal</td>
<td style="text-align: center;">防护目标数</td>
</tr>
<tr>
<td style="text-align: center;">currentWarning</td>
<td style="text-align: center;">当前预警数</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": {
"riskSource": 42,
"riskReport": 275,
"shelter": 7,
"protectiveGoal": 16,
"currentWarning": 0
}
}</code></pre>
<h2>6.5 获取服务数据</h2>
<h3>API地址</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">接口地址</th>
<th style="text-align: center;">请求方式</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">/api/app/comprehensive/getService</td>
<td style="text-align: center;">POST</td>
</tr>
</tbody>
</table>
<h3>功能说明</h3>
<ul>
<li>获取服务数据</li>
</ul>
<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;">无</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json"></code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">handledBusiness</td>
<td style="text-align: center;">办理业务总数</td>
</tr>
<tr>
<td style="text-align: center;">waitBusiness</td>
<td style="text-align: center;">待办理业务数</td>
</tr>
<tr>
<td style="text-align: center;">policys</td>
<td style="text-align: center;">政策总数</td>
</tr>
<tr>
<td style="text-align: center;">appeals</td>
<td style="text-align: center;">诉求总数</td>
</tr>
<tr>
<td style="text-align: center;">waitAppeals</td>
<td style="text-align: center;">待解决诉求数</td>
</tr>
<tr>
<td style="text-align: center;">moneyRaiseRequires</td>
<td style="text-align: center;">资金筹集需求数</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
"msg": "操作成功",
"code": 200,
"data": {
"handledBusiness": 1945,
"waitBusiness": 32,
"policys": 97,
"appeals": 80,
"waitAppeals": 3,
"moneyRaiseRequires": 7
}
}</code></pre>