|
@@ -28,7 +28,7 @@ public class MonitoringSystemReporting {
|
|
*/
|
|
*/
|
|
// 账号,密码,社会信用代码
|
|
// 账号,密码,社会信用代码
|
|
public static String[][] usersArr = {
|
|
public static String[][] usersArr = {
|
|
- {"23106960", "h108796l", "91210804MA10FPAM2G"}
|
|
|
|
|
|
+ {"23106960", "qweasd!@#123", "91210804MA10FPAM2G"}
|
|
};
|
|
};
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -214,7 +214,7 @@ public class MonitoringSystemReporting {
|
|
String name = "驾驶员信息单";
|
|
String name = "驾驶员信息单";
|
|
DriverInfo driver = testDriver(hyDriverInfo);
|
|
DriverInfo driver = testDriver(hyDriverInfo);
|
|
//roots.get(0)
|
|
//roots.get(0)
|
|
- Root root = getRoot(driver, name, loginRoot("23106960", "h108796l", "91210804MA10FPAM2G","debugSystem"));
|
|
|
|
|
|
+ Root root = getRoot(driver, name, loginRoot("23106960", "qweasd!@#123", "91210804MA10FPAM2G","debugSystem"));
|
|
String messageJson = JSON.toJSONString(root);
|
|
String messageJson = JSON.toJSONString(root);
|
|
System.out.println("发送报文的内容:" + messageJson);
|
|
System.out.println("发送报文的内容:" + messageJson);
|
|
String result = PostUtils.post(sendUrl, messageJson);
|
|
String result = PostUtils.post(sendUrl, messageJson);
|