mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 打印日志
This commit is contained in:
@@ -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());
|
||||
|
||||
// // 消息体
|
||||
|
||||
Reference in New Issue
Block a user