后端架构更新
This commit is contained in:
+1
-3
@@ -205,9 +205,7 @@ public class ConvertRunService {
|
||||
vo.setResultId(entity.getId());
|
||||
vo.setSourceFilename(entity.getSourceFilename());
|
||||
vo.setOutputFilename(entity.getResultFilename());
|
||||
vo.setDownloadUrl(entity.getSuccess() != null && entity.getSuccess() == 1
|
||||
? ossStorageService.generateFreshDownloadUrl(entity.getResultFileUrl())
|
||||
: null);
|
||||
vo.setDownloadUrl(null);
|
||||
vo.setSuccess(entity.getSuccess() != null && entity.getSuccess() == 1);
|
||||
vo.setError(entity.getErrorMessage());
|
||||
return vo;
|
||||
|
||||
Reference in New Issue
Block a user