| | |
| | | } |
| | | |
| | | @GetMapping("packageModel") |
| | | public void packageModel(String ids ,String projectId,String log ,String projectName,String version,String zipFileName,HttpServletResponse response) throws IOException { |
| | | public void packageModel(String projectId,String log ,String projectName,String version,String zipFileName,HttpServletResponse response) throws IOException { |
| | | byte[] data; |
| | | try { |
| | | data = mpkFileService.packageModel(Arrays.asList(ids.split(",")),projectId,projectName,zipFileName,log,version); |
| | | data = mpkFileService.packageModel(projectId,projectName,zipFileName,log,version); |
| | | } catch (InterruptedException e) { |
| | | throw new RuntimeException("模型打包失败",e); |
| | | } |