update 打印日志

This commit is contained in:
2024-03-19 16:22:40 +08:00
parent f079021ca4
commit 6a6ed9f311
92 changed files with 412 additions and 440 deletions

View File

@@ -273,7 +273,7 @@ public class SpringBootTestController {
@Test
public void testnotificationOperationSystemInfo() {
// HWStationInfo hwStationInfo = huaWeiService.notificationOperationSystemInfo("19");
// String s = JSONObject.toJSONString(hwStationInfo);
// String s = JSON.toJSONString(hwStationInfo);
// System.out.println(s);
}
@@ -296,7 +296,7 @@ public class SpringBootTestController {
jsonObject.put("msg_type","GroundlockStatus");
jsonObject.put("msg_data",null);
// ChannelFuture future = cameraBusinessServiceImpl.sendMsg(channelId, topic, jsonObject.toJSONString());
// ChannelFuture future = cameraBusinessServiceImpl.sendMsg(channelId, topic, JSON.toJSONString());
// System.out.println(future.toString());
}
@@ -984,7 +984,7 @@ public class SpringBootTestController {
List<String> idList = Lists.newArrayList();
for (int i = 0; i < jsonList.size(); i++) {
JSONObject jsonObject = (JSONObject) jsonList.get(i);
// System.out.println(jsonObject.toJSONString());
// System.out.println(JSON.toJSONString());
BigDecimal refundAmount = jsonObject.getBigDecimal("refundAmount");
String paymentId = jsonObject.getString("paymentId");
@@ -9221,7 +9221,7 @@ public class SpringBootTestController {
json.put("PageNo", 1);
json.put("PageSize", 10);
String dataJson = JSONObject.toJSONString(json);
String dataJson = JSON.toJSONString(json);
// 加密
byte[] encryptText = Cryptos.aesEncrypt(dataJson.getBytes(StandardCharsets.UTF_8),
operatorSecret.getBytes(), operatorSecret.getBytes());
@@ -9310,7 +9310,7 @@ public class SpringBootTestController {
jsonObject1.put("Seq", "0001");
jsonObject1.put("Sig", "1568D2D35B245A0205B33D0EF92E7981");
String jsonString = JSONObject.toJSONString(jsonObject1);
String jsonString = JSON.toJSONString(jsonObject1);
String result = HttpUtils.sendPostContentType("http://localhost:8080/LianLian/v1/query_stations_info", jsonString, "application/json");
JSONObject object = JSONObject.parseObject(result);
@@ -9501,7 +9501,7 @@ public class SpringBootTestController {
} catch (Exception e) {
e.printStackTrace();
}
System.out.println(JSONObject.toJSONString(pay));
System.out.println(JSON.toJSONString(pay));
}
@Test
@@ -9960,7 +9960,7 @@ public class SpringBootTestController {
}
// 保存报文
String jsonMsg = JSONObject.toJSONString(loginRequestData);
String jsonMsg = JSON.toJSONString(loginRequestData);
// pileMsgRecordService.save(pileSn, pileSn, type, jsonMsg, ykcDataProtocol.getHEXString());
// // 消息体