This commit is contained in:
parent
18155eb847
commit
044977e094
|
@ -150,7 +150,7 @@ public class StandardTask {
|
||||||
/**
|
/**
|
||||||
* 功能描述: 发送人脸记录
|
* 功能描述: 发送人脸记录
|
||||||
*/
|
*/
|
||||||
@Scheduled(cron = "0/5 * * * * ? ")
|
// @Scheduled(cron = "0/5 * * * * ? ")
|
||||||
public void sendUserRecord() {
|
public void sendUserRecord() {
|
||||||
|
|
||||||
List<BaseUserRecord> lists = userRecordService.list(new QueryWrapper<BaseUserRecord>()
|
List<BaseUserRecord> lists = userRecordService.list(new QueryWrapper<BaseUserRecord>()
|
||||||
|
@ -278,7 +278,7 @@ public class StandardTask {
|
||||||
// 比如队列名称是 instruction||{gatewaySN} ,需替换成实际的 gatewaySN 值
|
// 比如队列名称是 instruction||{gatewaySN} ,需替换成实际的 gatewaySN 值
|
||||||
String gatewaySN = deviceInfo != null ? deviceInfo.getGeminiSn() : "";
|
String gatewaySN = deviceInfo != null ? deviceInfo.getGeminiSn() : "";
|
||||||
String queueName = "instruction||" + gatewaySN;
|
String queueName = "instruction||" + gatewaySN;
|
||||||
String url = "http://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwCarRecord";
|
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwCarRecord";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||||
|
@ -361,7 +361,7 @@ public class StandardTask {
|
||||||
// 比如队列名称是 instruction||{gatewaySN} ,需替换成实际的 gatewaySN 值
|
// 比如队列名称是 instruction||{gatewaySN} ,需替换成实际的 gatewaySN 值
|
||||||
String gatewaySN = deviceInfo != null ? deviceInfo.getGeminiSn() : "";
|
String gatewaySN = deviceInfo != null ? deviceInfo.getGeminiSn() : "";
|
||||||
String queueName = "instruction||" + gatewaySN;
|
String queueName = "instruction||" + gatewaySN;
|
||||||
String url = "http://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwUserRecord";
|
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwUserRecord";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||||
|
@ -515,7 +515,7 @@ public class StandardTask {
|
||||||
dto.setRequestData(dataDTO);
|
dto.setRequestData(dataDTO);
|
||||||
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
||||||
|
|
||||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceInfo";
|
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceInfo";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||||
|
@ -566,7 +566,7 @@ public class StandardTask {
|
||||||
dto.setRequestData(dataDTO);
|
dto.setRequestData(dataDTO);
|
||||||
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
||||||
|
|
||||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceOrder";
|
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceOrder";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||||
|
@ -620,7 +620,7 @@ public class StandardTask {
|
||||||
dto.setRequestData(dataDTO);
|
dto.setRequestData(dataDTO);
|
||||||
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
String requestBody = JSON.toJSONString(dto, SerializerFeature.BrowserCompatible);
|
||||||
|
|
||||||
String url = "https://cyy.csxdtx.com:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceUsage";
|
String url = "http://180.101.177.39:10010/api/zdyq-equipment/dwBoxRecord/acceptDwDeviceUsage";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
// 发送 POST 请求,这里假设接口返回类型为 String ,可根据实际调整
|
||||||
|
|
Loading…
Reference in New Issue