|
@@ -192,6 +192,12 @@ public class GeoHazardMonitorTokenController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/encryptionAlarm")
|
|
|
+ public String encryptionAlarm(@RequestBody ReqMsgAlarmVo vo) {
|
|
|
+ String s1 = JSONObject.toJSONString(vo);
|
|
|
+ return SM4Utils.encryptData_ECB(s1, "4370780c9a8c43e5");
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 设备状态数据传输
|
|
|
*
|