添加ResultCode

This commit is contained in:
lifenlong
2021-07-01 11:17:18 +08:00
parent cce14b4794
commit 931276f72b
32 changed files with 198 additions and 231 deletions

View File

@@ -100,7 +100,7 @@ public class UploadController {
fileService.save(newFile);
} catch (Exception e) {
log.error("文件上传失败", e);
throw new ServiceException(ResultCode.OSS_EXCEPTION);
throw new ServiceException(ResultCode.OSS_EXCEPTION_ERROR);
}
return ResultUtil.data(result);
}