Commit 66eae195 authored by 周昊's avatar 周昊

1、添加图片服务器ip字段

parent 9e652982
...@@ -91,7 +91,7 @@ public class StreamingJob { ...@@ -91,7 +91,7 @@ public class StreamingJob {
.getAlgorithmName()); .getAlgorithmName());
warnPushBase.setAlarmTime(new Date(algorithmPushDto.getTimeStamp() * 1000)); warnPushBase.setAlarmTime(new Date(algorithmPushDto.getTimeStamp() * 1000));
//获取图片地址 //获取图片地址
warnPushBase.setPicture("http://172.16.21.3"+algorithmPushDto.getPictureAddress()); warnPushBase.setPicture("http://"+algorithmPushDto.getServerIp()+algorithmPushDto.getPictureAddress());
warnPushBase.setStatus("wait"); warnPushBase.setStatus("wait");
warnPushBase.setSendUserIds("|1|"); warnPushBase.setSendUserIds("|1|");
warnPushBase.setDelFlag(0); warnPushBase.setDelFlag(0);
......
...@@ -37,6 +37,9 @@ public class AlgorithmPushDto { ...@@ -37,6 +37,9 @@ public class AlgorithmPushDto {
//备注 放算法计算后所需信息 //备注 放算法计算后所需信息
private String remark; private String remark;
//图片服务器ipp
private String serverIp;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment