|
|
@@ -70,7 +70,8 @@ public class AlgorithmServiceImpl implements AlgorithmService {
|
|
|
//========= 获取算法INFO ===========
|
|
|
AlgorithmYml.CheckValid checkValid = algorithmYml.getCheckValid(Integer.valueOf(code));
|
|
|
MultiValueMap<String, Object> params = getStringObjectMultiValueMap(checkValid, id.toString());
|
|
|
- File toFile = new File(rootPath+fileUrl);
|
|
|
+ String filePathParse=fileUrl.replace("/statics","");
|
|
|
+ File toFile = new File(rootPath + filePathParse);
|
|
|
HttpEntity<MultiValueMap<String, Object>> files = getHttpEntityMap(toFile, params);
|
|
|
|
|
|
//请求算法服务
|