This commit is contained in:
parent
044977e094
commit
c31d288d93
|
@ -278,7 +278,7 @@ public class StandardTask {
|
|||
// 比如队列名称是 instruction||{gatewaySN} ,需替换成实际的 gatewaySN 值
|
||||
String gatewaySN = deviceInfo != null ? deviceInfo.getGeminiSn() : "";
|
||||
String queueName = "instruction||" + gatewaySN;
|
||||
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwCarRecord";
|
||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwCarRecord";
|
||||
|
||||
try {
|
||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||
|
@ -291,7 +291,7 @@ public class StandardTask {
|
|||
// 若返回码符合成功逻辑(需看接口文档定义),更新发送状态
|
||||
h.setIsSend(1);
|
||||
vehicleRecordService.saveOrUpdate(h);
|
||||
logger.info("人脸抓拍记录发送成功:" + h.getId());
|
||||
logger.info("车辆记录发送成功:" + h.getId());
|
||||
} catch (Exception e) {
|
||||
logger.error("调用接口发送数据失败,记录 ID:{},异常:{}", h.getId(), e.getMessage());
|
||||
}
|
||||
|
@ -361,7 +361,7 @@ public class StandardTask {
|
|||
// 比如队列名称是 instruction||{gatewaySN} ,需替换成实际的 gatewaySN 值
|
||||
String gatewaySN = deviceInfo != null ? deviceInfo.getGeminiSn() : "";
|
||||
String queueName = "instruction||" + gatewaySN;
|
||||
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwUserRecord";
|
||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwUserRecord";
|
||||
|
||||
try {
|
||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||
|
@ -515,7 +515,7 @@ public class StandardTask {
|
|||
dto.setRequestData(dataDTO);
|
||||
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
||||
|
||||
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceInfo";
|
||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceInfo";
|
||||
|
||||
try {
|
||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||
|
@ -566,7 +566,7 @@ public class StandardTask {
|
|||
dto.setRequestData(dataDTO);
|
||||
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
||||
|
||||
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceOrder";
|
||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceOrder";
|
||||
|
||||
try {
|
||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||
|
@ -620,7 +620,7 @@ public class StandardTask {
|
|||
dto.setRequestData(dataDTO);
|
||||
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
||||
|
||||
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceUsage";
|
||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceUsage";
|
||||
|
||||
try {
|
||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||
|
|
Loading…
Reference in New Issue