| | |
| | | |
| | | @GetMapping("getDto") |
| | | @ApiOperation("信息") |
| | | public Result<SoftwareTestOrderDto> getDto(Long orderId, Long environId) { |
| | | SoftwareTestOrderDto data = environService.getDto(environId, orderId); |
| | | if (orderId != null) { |
| | | OssDto ossDto = sysOssConfigService.getOssByBusiType(orderId, "environ"); |
| | | public Result<SoftwareTestOrderDto> getDto(Long projectId, Long environId) { |
| | | SoftwareTestOrderDto data = environService.getDto(environId, projectId); |
| | | if (projectId != null) { |
| | | OssDto ossDto = sysOssConfigService.getOssByBusiType(projectId, "environ"); |
| | | if (ossDto != null) { |
| | | data.setFiles(ossDto); |
| | | } |