fix 舆情自动化图片分析代码
This commit is contained in:
@@ -9,5 +9,5 @@ public class DifyImageWorkFlow {
|
|||||||
|
|
||||||
private String type = "image";
|
private String type = "image";
|
||||||
|
|
||||||
private String imageUrl;
|
private String url;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ public class MqMessageRecordServiceImpl extends ServiceImpl<MqMessageRecordMappe
|
|||||||
if (contentNode.getNodeType().equals(NodeTypeEnum.IMAGE.getCode())) {
|
if (contentNode.getNodeType().equals(NodeTypeEnum.IMAGE.getCode())) {
|
||||||
//构建图片分析请求对象
|
//构建图片分析请求对象
|
||||||
DifyImageWorkFlow diFyImageWorkFlow = new DifyImageWorkFlow();
|
DifyImageWorkFlow diFyImageWorkFlow = new DifyImageWorkFlow();
|
||||||
diFyImageWorkFlow.setImageUrl(contentNode.getNodeContent());
|
diFyImageWorkFlow.setUrl(contentNode.getNodeContent());
|
||||||
|
|
||||||
DiFyReq diFyImageReq = new DiFyReq();
|
DiFyReq diFyImageReq = new DiFyReq();
|
||||||
diFyImageReq.setUser(user);
|
diFyImageReq.setUser(user);
|
||||||
|
|||||||
Reference in New Issue
Block a user