fix 舆情自动化图片分析代码
This commit is contained in:
@@ -24,7 +24,7 @@ public class DiFyServiceImpl implements DiFyService{
|
|||||||
map.put("inputs",diFyReq.getInputs());
|
map.put("inputs",diFyReq.getInputs());
|
||||||
map.put("response_mode","blocking");
|
map.put("response_mode","blocking");
|
||||||
map.put("user",diFyReq.getUser());
|
map.put("user",diFyReq.getUser());
|
||||||
log.info("请求DiFy入参:{}",map);
|
log.info("请求DiFy入参:{}",JSON.toJSONString(map));
|
||||||
JSONObject difyResult = diFyFeign.runWorkflows("Bearer "+diFyReq.getFlowId(),map);
|
JSONObject difyResult = diFyFeign.runWorkflows("Bearer "+diFyReq.getFlowId(),map);
|
||||||
log.info("请求DiFy响应结果:{}",difyResult.toJSONString());
|
log.info("请求DiFy响应结果:{}",difyResult.toJSONString());
|
||||||
JSONObject data = difyResult.getJSONObject("data");
|
JSONObject data = difyResult.getJSONObject("data");
|
||||||
|
|||||||
Reference in New Issue
Block a user