|
@@ -472,7 +472,7 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
|
jsonObject.put("password", "123456");
|
|
|
jsonObject.put("timestamp", date1.getTime());
|
|
|
jsonObject.put("uid", billPersonnelAdmission.getAdmissionUserId());
|
|
|
- String post = HttpRequest.post("http://192.168.1.42:8040/addDeviceUser")
|
|
|
+ String post = HttpRequest.post("http://39.173.90.137:8040/addDeviceUser")
|
|
|
.header(Header.CONTENT_TYPE, "multipart/form-data")
|
|
|
.form(jsonObject)
|
|
|
.timeout(30 * 1000).execute().body();
|
|
@@ -500,7 +500,7 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("seq", deviceList.getDeviceCode());
|
|
|
jsonObject.put("isBlack", false);
|
|
|
- String request = HttpRequest.get("http://192.168.1.42:8040/getCarDeviceWoBList")
|
|
|
+ String request = HttpRequest.get("http://39.173.90.137:8040/getCarDeviceWoBList")
|
|
|
.body(jsonObject.toJSONString())
|
|
|
.header(Header.CONTENT_TYPE, "application/json")
|
|
|
.timeout(30 * 1000).execute().body();
|
|
@@ -518,7 +518,7 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
|
list.add((Integer) jsonObject1.get("cid"));
|
|
|
jsonObject2.put("cids", list);
|
|
|
|
|
|
- String body = HttpRequest.post(" http://192.168.1.42:8040/delCarDeviceWoBList").header(Header.CONTENT_TYPE, "application/json")
|
|
|
+ String body = HttpRequest.post(" http://39.173.90.137:8040/delCarDeviceWoBList").header(Header.CONTENT_TYPE, "application/json")
|
|
|
.body(jsonObject2.toJSONString())
|
|
|
.timeout(30 * 1000).execute().body();
|
|
|
System.out.println(body);
|
|
@@ -539,7 +539,7 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
|
jsonArray.add(object1);
|
|
|
jsonObject1.put("plates", jsonArray);
|
|
|
|
|
|
- String post = HttpRequest.post(" http://192.168.1.42:8040/addCarDeviceWoBList")
|
|
|
+ String post = HttpRequest.post(" http://39.173.90.137:8040/addCarDeviceWoBList")
|
|
|
.header(Header.CONTENT_TYPE, "application/json")
|
|
|
.body(jsonObject1.toJSONString())
|
|
|
.timeout(30 * 1000).execute().body();
|