|
@@ -189,7 +189,9 @@ public class AlgorithmServiceImpl implements AlgorithmService {
|
|
|
|
|
|
@Override
|
|
|
public ResponseBodyVO getGitVersion(AlgorithmParameter param) throws IOException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException {
|
|
|
- String gitUrl = param.getGitUrl();
|
|
|
+
|
|
|
+ AlgorithmPO po = algorithmMapper.selectDetailsById(param);
|
|
|
+ String gitUrl = po.getGitUrl();
|
|
|
if(StringUtil.isEmpty(gitUrl)){
|
|
|
return new ResponseBodyVO(ResponseBodyVO.Response.CLIENT_FAILURE);
|
|
|
}
|