Compare commits
No commits in common. "60c23913eca6b5366b864a1cdc628b4a4b75ea3c" and "6391b1e8c4c44dfa15925874a1bcb843d0aaa130" have entirely different histories.
60c23913ec
...
6391b1e8c4
|
@ -168,16 +168,6 @@ const childrenIndex = ref(1);
|
||||||
const tabsList = ref([
|
const tabsList = ref([
|
||||||
{
|
{
|
||||||
index: 1,
|
index: 1,
|
||||||
name: "请求加密方式",
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
index: 1,
|
|
||||||
name: "POST请求加密方式",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
index: 2,
|
|
||||||
name: "双控信息数据",
|
name: "双控信息数据",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -241,7 +231,7 @@ const tabsList = ref([
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
index: 3,
|
index: 2,
|
||||||
name: "道闸出入",
|
name: "道闸出入",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -255,7 +245,7 @@ const tabsList = ref([
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
index: 4,
|
index: 3,
|
||||||
name: "雷电预警",
|
name: "雷电预警",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -273,7 +263,7 @@ const tabsList = ref([
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
index: 5,
|
index: 4,
|
||||||
name: "人员信息",
|
name: "人员信息",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -307,7 +297,7 @@ const tabsList = ref([
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
index: 6,
|
index: 5,
|
||||||
name: "特殊作业",
|
name: "特殊作业",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -337,7 +327,7 @@ const tabsList = ref([
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
index: 7,
|
index: 6,
|
||||||
name: "作业票",
|
name: "作业票",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -399,7 +389,7 @@ const tabsList = ref([
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
index: 8,
|
index: 7,
|
||||||
name: "综合管理",
|
name: "综合管理",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -420,78 +410,21 @@ const tabsList = ref([
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
index: 8,
|
||||||
|
name: "请求加密方式",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
index: 1,
|
||||||
|
name: "POST请求加密方式",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
]);
|
]);
|
||||||
const contentList = ref([
|
const contentList = ref([
|
||||||
{
|
{
|
||||||
parentIndex: 1,
|
parentIndex: 1,
|
||||||
childrenIndex: 1,
|
childrenIndex: 1,
|
||||||
title: "请求加密方式",
|
|
||||||
isHTML: true,
|
|
||||||
htmlStr: `
|
|
||||||
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
|
||||||
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.1、请求大小限制</div>
|
|
||||||
<div style="padding:20px;color:#666666;line-height: 2"">
|
|
||||||
请求数据是list格式,但是为了请求效率,每次上报的请求数据在100条。<br/>
|
|
||||||
对于特殊作业附件、视频智能分析附件上报接口,请求体大小要在 1M 内, 其他上报接口请求体的大小要在 15M 以内
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
|
||||||
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.2、请求头信息</div>
|
|
||||||
<div style="padding:20px;color:#666666;line-height: 2">
|
|
||||||
请求header中添加X-app-Id<br/>
|
|
||||||
示例:X-app-Id : d2VpaHVhOjE1MzI0ODk3NTI0NTE5ODc0Ng==<br/>
|
|
||||||
加密方式:将“服务平台编码:统一社会信用代码”字符串进行base64加密,服务平台编码和统一社会信用代码是在服务平台申请时填入<br/>
|
|
||||||
请求头Content-Type : application/json
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
|
||||||
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.3、请求体加密</div>
|
|
||||||
<div style="padding:20px;color:#666666;line-height: 2"">
|
|
||||||
请求体采用AES 加密方式,AES 加密需申请secretKey, 新申请接入的服务平台可申请。<br/>
|
|
||||||
请求时,将请求信息转成json,先用AES 加密,再用Base64 对请求体的data 内容进行加密,最终效果为[{"data":"加密字符串"}]。
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
|
||||||
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.4、请求方式</div>
|
|
||||||
<div style="padding:20px;color:#666666;">
|
|
||||||
本文档中全部采用post请求方式
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
|
||||||
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.5、请求是否必填</div>
|
|
||||||
<div style="padding:20px;color:#666666;line-height: 2"">
|
|
||||||
接口请求字段是否必填,依赖于推送的各个上游平台是否必填,在对接时可全部填写,可适配其他上游平台。<br/>
|
|
||||||
每个上游平台字段是否必填,是通过平台配置,如果缺少必填字段项,在接口上报时会有异常返回提示。每个接口中的数据主键为必填项。
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
|
||||||
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.6、加密示例:</div>
|
|
||||||
<div style="padding:20px;color:#666666;line-height: 2">
|
|
||||||
<pre><code class="language-java">
|
|
||||||
private static final String ALGORITHM = "AES";
|
|
||||||
private static final String TRANSFORMATION = "AES/ECB/PKCS5Padding";
|
|
||||||
|
|
||||||
public static String encrypt(String plainText, String base64Key) {
|
|
||||||
try {
|
|
||||||
byte[] decodedKey = Base64.getDecoder().decode(base64Key);
|
|
||||||
SecretKeySpec secretKey = new SecretKeySpec(decodedKey, ALGORITHM);
|
|
||||||
|
|
||||||
Cipher cipher = Cipher.getInstance(TRANSFORMATION);
|
|
||||||
cipher.init(Cipher.ENCRYPT_MODE, secretKey);
|
|
||||||
|
|
||||||
byte[] encryptedBytes = cipher.doFinal(plainText.getBytes(StandardCharsets.UTF_8));
|
|
||||||
return Base64.getEncoder().encodeToString(encryptedBytes);
|
|
||||||
} catch (Exception e) {
|
|
||||||
throw new RuntimeException("AES encryption failed", e);
|
|
||||||
}
|
|
||||||
}</code></pre>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
`,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
parentIndex: 2,
|
|
||||||
childrenIndex: 1,
|
|
||||||
title: "上报安全风险分析单元数据",
|
title: "上报安全风险分析单元数据",
|
||||||
url: "/docking/data/v1/pushRiskUnitData",
|
url: "/docking/data/v1/pushRiskUnitData",
|
||||||
requestBodyParameters: [
|
requestBodyParameters: [
|
||||||
|
@ -864,7 +797,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 2,
|
childrenIndex: 2,
|
||||||
title: "上报安全风险事件数据",
|
title: "上报安全风险事件数据",
|
||||||
url: "/docking/data/v1/pushRiskEventsData",
|
url: "/docking/data/v1/pushRiskEventsData",
|
||||||
|
@ -1054,7 +987,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 3,
|
childrenIndex: 3,
|
||||||
title: "上报安全风险管控措施数据",
|
title: "上报安全风险管控措施数据",
|
||||||
url: "/docking/data/v1/pushRiskControlMeasureData",
|
url: "/docking/data/v1/pushRiskControlMeasureData",
|
||||||
|
@ -1368,7 +1301,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 4,
|
childrenIndex: 4,
|
||||||
title: "上报风险事件辨识信息数据",
|
title: "上报风险事件辨识信息数据",
|
||||||
url: "/docking/data/v1/pushRiskIdentificationData",
|
url: "/docking/data/v1/pushRiskIdentificationData",
|
||||||
|
@ -1730,7 +1663,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 5,
|
childrenIndex: 5,
|
||||||
title: "上报隐患排查任务数据",
|
title: "上报隐患排查任务数据",
|
||||||
url: "/docking/data/v1/pushHiddenCheckMissionData",
|
url: "/docking/data/v1/pushHiddenCheckMissionData",
|
||||||
|
@ -2215,7 +2148,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 6,
|
childrenIndex: 6,
|
||||||
title: "上报隐患排查记录",
|
title: "上报隐患排查记录",
|
||||||
url: "/docking/data/v1/pushDangerCheckRecordData",
|
url: "/docking/data/v1/pushDangerCheckRecordData",
|
||||||
|
@ -2690,7 +2623,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 7,
|
childrenIndex: 7,
|
||||||
title: "上报隐患信息",
|
title: "上报隐患信息",
|
||||||
url: "/docking/data/v1/pushDangerInfoData",
|
url: "/docking/data/v1/pushDangerInfoData",
|
||||||
|
@ -3272,7 +3205,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 8,
|
childrenIndex: 8,
|
||||||
title: "上报隐患排查清单",
|
title: "上报隐患排查清单",
|
||||||
url: "/docking/data/v1/pushHiddenDangerPlanData",
|
url: "/docking/data/v1/pushHiddenDangerPlanData",
|
||||||
|
@ -3687,7 +3620,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 9,
|
childrenIndex: 9,
|
||||||
title: "上报安全承诺数据",
|
title: "上报安全承诺数据",
|
||||||
url: "/docking/data/v1/pushProductionPromiseData",
|
url: "/docking/data/v1/pushProductionPromiseData",
|
||||||
|
@ -4142,7 +4075,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 10,
|
childrenIndex: 10,
|
||||||
title: "上报承诺装置运行状态",
|
title: "上报承诺装置运行状态",
|
||||||
url: "/docking/data/v1/pushDeviceRunStatusData",
|
url: "/docking/data/v1/pushDeviceRunStatusData",
|
||||||
|
@ -4380,7 +4313,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 11,
|
childrenIndex: 11,
|
||||||
title: "上报安全风险分析对象数据",
|
title: "上报安全风险分析对象数据",
|
||||||
url: "/docking/data/v1/pushRiskObjectData",
|
url: "/docking/data/v1/pushRiskObjectData",
|
||||||
|
@ -4536,7 +4469,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 12,
|
childrenIndex: 12,
|
||||||
title: "上报专项检查隐患信息记录",
|
title: "上报专项检查隐患信息记录",
|
||||||
url: "/docking/data/v1/pushRiskObjectData",
|
url: "/docking/data/v1/pushRiskObjectData",
|
||||||
|
@ -4756,7 +4689,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 13,
|
childrenIndex: 13,
|
||||||
title: "上报专项检查情况记录",
|
title: "上报专项检查情况记录",
|
||||||
url: "/docking/data/v1/pushCheckRecordData",
|
url: "/docking/data/v1/pushCheckRecordData",
|
||||||
|
@ -4934,7 +4867,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 2,
|
parentIndex: 1,
|
||||||
childrenIndex: 14,
|
childrenIndex: 14,
|
||||||
title: "新增包保责任人履职概览统计信息",
|
title: "新增包保责任人履职概览统计信息",
|
||||||
url: "/docking/data/v1/pushPerformanceOverview",
|
url: "/docking/data/v1/pushPerformanceOverview",
|
||||||
|
@ -5198,7 +5131,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 3,
|
parentIndex: 2,
|
||||||
childrenIndex: 1,
|
childrenIndex: 1,
|
||||||
title: "上报卡口车辆通行记录",
|
title: "上报卡口车辆通行记录",
|
||||||
url: "/docking/data/v1/pushCarRecordData",
|
url: "/docking/data/v1/pushCarRecordData",
|
||||||
|
@ -5464,7 +5397,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 3,
|
parentIndex: 2,
|
||||||
childrenIndex: 2,
|
childrenIndex: 2,
|
||||||
title: "上报卡口人员通行记录",
|
title: "上报卡口人员通行记录",
|
||||||
url: "/docking/data/v1/pushPersonRecordData",
|
url: "/docking/data/v1/pushPersonRecordData",
|
||||||
|
@ -5679,7 +5612,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 4,
|
parentIndex: 3,
|
||||||
childrenIndex: 1,
|
childrenIndex: 1,
|
||||||
title: "上报雷电预警设备基础数据",
|
title: "上报雷电预警设备基础数据",
|
||||||
url: "/docking/data/v1/pushEquipDataReceivingData",
|
url: "/docking/data/v1/pushEquipDataReceivingData",
|
||||||
|
@ -5836,7 +5769,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 4,
|
parentIndex: 3,
|
||||||
childrenIndex: 2,
|
childrenIndex: 2,
|
||||||
title: "上报雷电预警预警数据",
|
title: "上报雷电预警预警数据",
|
||||||
url: "/docking/data/v1/pushPushDataReceivingData",
|
url: "/docking/data/v1/pushPushDataReceivingData",
|
||||||
|
@ -6010,7 +5943,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 4,
|
parentIndex: 3,
|
||||||
childrenIndex: 3,
|
childrenIndex: 3,
|
||||||
title: "上报雷电预警环境数据",
|
title: "上报雷电预警环境数据",
|
||||||
url: "/docking/data/v1/pushEnvironmentReceivingData",
|
url: "/docking/data/v1/pushEnvironmentReceivingData",
|
||||||
|
@ -6248,7 +6181,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 5,
|
parentIndex: 4,
|
||||||
childrenIndex: 1,
|
childrenIndex: 1,
|
||||||
title: "上报人员基础数据",
|
title: "上报人员基础数据",
|
||||||
url: "/docking/data/v1/pushEmployeeInfoData",
|
url: "/docking/data/v1/pushEmployeeInfoData",
|
||||||
|
@ -6861,7 +6794,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 5,
|
parentIndex: 4,
|
||||||
childrenIndex: 2,
|
childrenIndex: 2,
|
||||||
title: "人员证件信息",
|
title: "人员证件信息",
|
||||||
url: "/docking/data/v1/pushEmployeeLicenseData",
|
url: "/docking/data/v1/pushEmployeeLicenseData",
|
||||||
|
@ -7082,7 +7015,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 5,
|
parentIndex: 4,
|
||||||
childrenIndex: 3,
|
childrenIndex: 3,
|
||||||
title: "人员实时定位数据",
|
title: "人员实时定位数据",
|
||||||
url: "/docking/data/v1/pushEmployeeLocationData",
|
url: "/docking/data/v1/pushEmployeeLocationData",
|
||||||
|
@ -7302,7 +7235,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 5,
|
parentIndex: 4,
|
||||||
childrenIndex: 4,
|
childrenIndex: 4,
|
||||||
title: "人员报警数据",
|
title: "人员报警数据",
|
||||||
url: "/docking/data/v1/pushEmployeeAlarmData",
|
url: "/docking/data/v1/pushEmployeeAlarmData",
|
||||||
|
@ -7671,7 +7604,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 5,
|
parentIndex: 4,
|
||||||
childrenIndex: 5,
|
childrenIndex: 5,
|
||||||
title: "上报区域边界数据",
|
title: "上报区域边界数据",
|
||||||
url: "/docking/data/v1/pushZoneInfoData",
|
url: "/docking/data/v1/pushZoneInfoData",
|
||||||
|
@ -7849,7 +7782,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 5,
|
parentIndex: 4,
|
||||||
childrenIndex: 6,
|
childrenIndex: 6,
|
||||||
title: "上报人员聚集数据",
|
title: "上报人员聚集数据",
|
||||||
url: "/docking/data/v1/pushEmployeeGatherData",
|
url: "/docking/data/v1/pushEmployeeGatherData",
|
||||||
|
@ -8072,7 +8005,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 5,
|
parentIndex: 4,
|
||||||
childrenIndex: 7,
|
childrenIndex: 7,
|
||||||
title: "上报区域报警数据",
|
title: "上报区域报警数据",
|
||||||
url: "/docking/data/v1/pushZoneAlarmData",
|
url: "/docking/data/v1/pushZoneAlarmData",
|
||||||
|
@ -8248,7 +8181,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 6,
|
parentIndex: 5,
|
||||||
childrenIndex: 1,
|
childrenIndex: 1,
|
||||||
title: "上报特殊作业审批记录",
|
title: "上报特殊作业审批记录",
|
||||||
url: "/docking/data/v1/pushWorkApprovalData",
|
url: "/docking/data/v1/pushWorkApprovalData",
|
||||||
|
@ -8542,7 +8475,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 6,
|
parentIndex: 5,
|
||||||
childrenIndex: 2,
|
childrenIndex: 2,
|
||||||
title: "上报特殊作业安全措施记录",
|
title: "上报特殊作业安全措施记录",
|
||||||
url: "/docking/data/v1/pushWorkSafetyData",
|
url: "/docking/data/v1/pushWorkSafetyData",
|
||||||
|
@ -8739,7 +8672,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 6,
|
parentIndex: 5,
|
||||||
childrenIndex: 3,
|
childrenIndex: 3,
|
||||||
title: "上报特殊作业气体分析数据",
|
title: "上报特殊作业气体分析数据",
|
||||||
url: "/docking/data/v1/pushWorkGasAnalysisData",
|
url: "/docking/data/v1/pushWorkGasAnalysisData",
|
||||||
|
@ -9139,7 +9072,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 6,
|
parentIndex: 5,
|
||||||
childrenIndex: 4,
|
childrenIndex: 4,
|
||||||
title: "上报特殊作业验收信息",
|
title: "上报特殊作业验收信息",
|
||||||
url: "/docking/data/v1/pushWorkCheckAcceptData",
|
url: "/docking/data/v1/pushWorkCheckAcceptData",
|
||||||
|
@ -9295,7 +9228,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 6,
|
parentIndex: 5,
|
||||||
childrenIndex: 5,
|
childrenIndex: 5,
|
||||||
title: "上报特殊作业和视频关联数据",
|
title: "上报特殊作业和视频关联数据",
|
||||||
url: "/docking/data/v1/pushWorkVideoData",
|
url: "/docking/data/v1/pushWorkVideoData",
|
||||||
|
@ -9426,7 +9359,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 6,
|
parentIndex: 5,
|
||||||
childrenIndex: 6,
|
childrenIndex: 6,
|
||||||
title: "上报特殊作业附件数据",
|
title: "上报特殊作业附件数据",
|
||||||
url: "/docking/data/v1/pushWorkFileData",
|
url: "/docking/data/v1/pushWorkFileData",
|
||||||
|
@ -9574,7 +9507,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 1,
|
childrenIndex: 1,
|
||||||
title: "上报作业活动信息",
|
title: "上报作业活动信息",
|
||||||
url: "/docking/data/v1/pushWorkJobData",
|
url: "/docking/data/v1/pushWorkJobData",
|
||||||
|
@ -11201,7 +11134,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 2,
|
childrenIndex: 2,
|
||||||
title: "上报动火作业票信息",
|
title: "上报动火作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkHotData",
|
url: "/docking/data/v1/pushWorkHotData",
|
||||||
|
@ -13127,7 +13060,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 3,
|
childrenIndex: 3,
|
||||||
title: "上报受限空间作业票信息",
|
title: "上报受限空间作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkSpaceData",
|
url: "/docking/data/v1/pushWorkSpaceData",
|
||||||
|
@ -14739,7 +14672,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 4,
|
childrenIndex: 4,
|
||||||
title: "上报盲板抽堵作业票信息",
|
title: "上报盲板抽堵作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkBlindplateData",
|
url: "/docking/data/v1/pushWorkBlindplateData",
|
||||||
|
@ -16316,7 +16249,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 5,
|
childrenIndex: 5,
|
||||||
title: "上报高处作业票信息",
|
title: "上报高处作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkHighData",
|
url: "/docking/data/v1/pushWorkHighData",
|
||||||
|
@ -17881,7 +17814,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 6,
|
childrenIndex: 6,
|
||||||
title: "上报吊装作业票信息",
|
title: "上报吊装作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkHoisingData",
|
url: "/docking/data/v1/pushWorkHoisingData",
|
||||||
|
@ -19486,7 +19419,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 7,
|
childrenIndex: 7,
|
||||||
title: "上报临时用电作业票信息",
|
title: "上报临时用电作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkPowerData",
|
url: "/docking/data/v1/pushWorkPowerData",
|
||||||
|
@ -21246,7 +21179,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 8,
|
childrenIndex: 8,
|
||||||
title: "上报动土作业票信息",
|
title: "上报动土作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkGroundBreakData",
|
url: "/docking/data/v1/pushWorkGroundBreakData",
|
||||||
|
@ -22742,7 +22675,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 9,
|
childrenIndex: 9,
|
||||||
title: "上报断路作业票信息",
|
title: "上报断路作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkBreakData",
|
url: "/docking/data/v1/pushWorkBreakData",
|
||||||
|
@ -24334,7 +24267,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 10,
|
childrenIndex: 10,
|
||||||
title: "上报倒灌作业票信息",
|
title: "上报倒灌作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkPouringData",
|
url: "/docking/data/v1/pushWorkPouringData",
|
||||||
|
@ -25859,7 +25792,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 11,
|
childrenIndex: 11,
|
||||||
title: "上报清罐作业票信息",
|
title: "上报清罐作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkTankCleaningData",
|
url: "/docking/data/v1/pushWorkTankCleaningData",
|
||||||
|
@ -27384,7 +27317,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 12,
|
childrenIndex: 12,
|
||||||
title: "上报切水作业票信息",
|
title: "上报切水作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkWaterData",
|
url: "/docking/data/v1/pushWorkWaterData",
|
||||||
|
@ -28910,7 +28843,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 13,
|
childrenIndex: 13,
|
||||||
title: "上报检维修作业票信息",
|
title: "上报检维修作业票信息",
|
||||||
url: "/docking/data/v1/pushWorkInspectionData",
|
url: "/docking/data/v1/pushWorkInspectionData",
|
||||||
|
@ -30436,7 +30369,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 7,
|
parentIndex: 6,
|
||||||
childrenIndex: 14,
|
childrenIndex: 14,
|
||||||
title: "上报承诺作业票详情",
|
title: "上报承诺作业票详情",
|
||||||
url: "/docking/data/v1/pushPromiseTicketData",
|
url: "/docking/data/v1/pushPromiseTicketData",
|
||||||
|
@ -30565,7 +30498,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 8,
|
parentIndex: 7,
|
||||||
childrenIndex: 1,
|
childrenIndex: 1,
|
||||||
title: "开停车数据",
|
title: "开停车数据",
|
||||||
url: "/docking/data/v1/pushStartStopWorkData",
|
url: "/docking/data/v1/pushStartStopWorkData",
|
||||||
|
@ -30789,7 +30722,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 8,
|
parentIndex: 7,
|
||||||
childrenIndex: 2,
|
childrenIndex: 2,
|
||||||
title: "三同数据",
|
title: "三同数据",
|
||||||
url: "/docking/data/v1/pushMeanwhileData",
|
url: "/docking/data/v1/pushMeanwhileData",
|
||||||
|
@ -31186,7 +31119,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 8,
|
parentIndex: 7,
|
||||||
childrenIndex: 3,
|
childrenIndex: 3,
|
||||||
title: "大检修数据",
|
title: "大检修数据",
|
||||||
url: "/docking/data/v1/pushMaintenanceData",
|
url: "/docking/data/v1/pushMaintenanceData",
|
||||||
|
@ -31420,7 +31353,7 @@ const contentList = ref([
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parentIndex: 8,
|
parentIndex: 7,
|
||||||
childrenIndex: 4,
|
childrenIndex: 4,
|
||||||
title: "停用/检修记录",
|
title: "停用/检修记录",
|
||||||
url: "/docking/data/v1/pushUnitStopData",
|
url: "/docking/data/v1/pushUnitStopData",
|
||||||
|
@ -31576,6 +31509,73 @@ const contentList = ref([
|
||||||
</div>
|
</div>
|
||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
parentIndex: 8,
|
||||||
|
childrenIndex: 1,
|
||||||
|
title: "请求加密方式",
|
||||||
|
isHTML: true,
|
||||||
|
htmlStr: `
|
||||||
|
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
||||||
|
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.1、请求大小限制</div>
|
||||||
|
<div style="padding:20px;color:#666666;line-height: 2"">
|
||||||
|
请求数据是list格式,但是为了请求效率,每次上报的请求数据在100条。<br/>
|
||||||
|
对于特殊作业附件、视频智能分析附件上报接口,请求体大小要在 1M 内, 其他上报接口请求体的大小要在 15M 以内
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
||||||
|
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.2、请求头信息</div>
|
||||||
|
<div style="padding:20px;color:#666666;line-height: 2">
|
||||||
|
请求header中添加X-app-Id<br/>
|
||||||
|
示例:X-app-Id : d2VpaHVhOjE1MzI0ODk3NTI0NTE5ODc0Ng==<br/>
|
||||||
|
加密方式:将“服务平台编码:统一社会信用代码”字符串进行base64加密,服务平台编码和统一社会信用代码是在服务平台申请时填入<br/>
|
||||||
|
请求头Content-Type : application/json
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
||||||
|
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.3、请求体加密</div>
|
||||||
|
<div style="padding:20px;color:#666666;line-height: 2"">
|
||||||
|
请求体采用AES 加密方式,AES 加密需申请secretKey, 新申请接入的服务平台可申请。<br/>
|
||||||
|
请求时,将请求信息转成json,先用AES 加密,再用Base64 对请求体的data 内容进行加密,最终效果为[{"data":"加密字符串"}]。
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
||||||
|
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.4、请求方式</div>
|
||||||
|
<div style="padding:20px;color:#666666;">
|
||||||
|
本文档中全部采用post请求方式
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
||||||
|
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.5、请求是否必填</div>
|
||||||
|
<div style="padding:20px;color:#666666;line-height: 2"">
|
||||||
|
接口请求字段是否必填,依赖于推送的各个上游平台是否必填,在对接时可全部填写,可适配其他上游平台。<br/>
|
||||||
|
每个上游平台字段是否必填,是通过平台配置,如果缺少必填字段项,在接口上报时会有异常返回提示。每个接口中的数据主键为必填项。
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="background: #ffffff;margin-bottom: 5px;border-bottom: 10px solid #f9f9f9;">
|
||||||
|
<div style="font-size: 18px;padding: 10px 20px;border-bottom: 1px solid #eeeeee;color: #000;">1.6、加密示例:</div>
|
||||||
|
<div style="padding:20px;color:#666666;line-height: 2">
|
||||||
|
<pre><code class="language-java">
|
||||||
|
private static final String ALGORITHM = "AES";
|
||||||
|
private static final String TRANSFORMATION = "AES/ECB/PKCS5Padding";
|
||||||
|
|
||||||
|
public static String encrypt(String plainText, String base64Key) {
|
||||||
|
try {
|
||||||
|
byte[] decodedKey = Base64.getDecoder().decode(base64Key);
|
||||||
|
SecretKeySpec secretKey = new SecretKeySpec(decodedKey, ALGORITHM);
|
||||||
|
|
||||||
|
Cipher cipher = Cipher.getInstance(TRANSFORMATION);
|
||||||
|
cipher.init(Cipher.ENCRYPT_MODE, secretKey);
|
||||||
|
|
||||||
|
byte[] encryptedBytes = cipher.doFinal(plainText.getBytes(StandardCharsets.UTF_8));
|
||||||
|
return Base64.getEncoder().encodeToString(encryptedBytes);
|
||||||
|
} catch (Exception e) {
|
||||||
|
throw new RuntimeException("AES encryption failed", e);
|
||||||
|
}
|
||||||
|
}</code></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
`,
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
const btnClick = (index, index1) => {
|
const btnClick = (index, index1) => {
|
||||||
parentIndex.value = index;
|
parentIndex.value = index;
|
||||||
|
|
Loading…
Reference in New Issue