|
|
@ -278,12 +278,17 @@ public class SceneQuestionServiceImpl implements ISceneQuestionService { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Set<Integer> outList = new HashSet(); |
|
|
Set<Integer> outList = new HashSet(); |
|
|
JSONArray outs = data.getJSONObject("outputs").getJSONObject("output_1").getJSONArray("connections"); |
|
|
if (data.get("name").toString().equals("google")) { |
|
|
for (int j = 0; j < outs.size(); j++) { |
|
|
params.put("videoUrl", null); |
|
|
JSONObject ot = outs.getJSONObject(j); |
|
|
params.put("outs", outList); |
|
|
outList.add(ot.getInteger("node")); |
|
|
} else { |
|
|
|
|
|
JSONArray outs = data.getJSONObject("outputs").getJSONObject("output_1").getJSONArray("connections"); |
|
|
|
|
|
for (int j = 0; j < outs.size(); j++) { |
|
|
|
|
|
JSONObject ot = outs.getJSONObject(j); |
|
|
|
|
|
outList.add(ot.getInteger("node")); |
|
|
|
|
|
} |
|
|
|
|
|
params.put("outs", outList); |
|
|
} |
|
|
} |
|
|
params.put("outs", outList); |
|
|
|
|
|
|
|
|
|
|
|
if ("开始".equals(data.get("name"))) { |
|
|
if ("开始".equals(data.get("name"))) { |
|
|
params.put("videoUrl", null); |
|
|
params.put("videoUrl", null); |
|
|
|