|
|
|
@@ -165,6 +165,13 @@ public class MachineLearnServiceImpl implements MachineLearnService { |
|
|
|
if (convertRes == null || StringUtils.isEmpty(convertRes)) { |
|
|
|
throw new RuntimeException("转换流水线失败"); |
|
|
|
} |
|
|
|
|
|
|
|
Map<String, Object> convertResMap = JsonUtils.jsonToMap(convertRes); |
|
|
|
String convertResData = (String) convertResMap.get("data"); |
|
|
|
if (StringUtils.isEmpty(convertResData)) { |
|
|
|
throw new RuntimeException("转换流水线失败"); |
|
|
|
} |
|
|
|
|
|
|
|
Map<String, Object> converMap = JsonUtils.jsonToMap(convertRes); |
|
|
|
// 组装运行接口json |
|
|
|
Map<String, Object> output = (Map<String, Object>) converMap.get("output"); |
|
|
|
|