Merge branch 'master' into Bulbasaur

This commit is contained in:
lifenlong
2021-05-21 17:25:15 +08:00
38 changed files with 422 additions and 242 deletions

View File

@@ -63,7 +63,7 @@ public class UploadController {
if (authUser == null) {
throw new ServiceException(ResultCode.USER_AUTHORITY_ERROR);
}
Setting setting = settingService.getById(SettingEnum.OSS_SETTING.name());
Setting setting = settingService.get(SettingEnum.OSS_SETTING.name());
if (setting == null || StrUtil.isBlank(setting.getSettingValue())) {
throw new ServiceException(ResultCode.OSS_NOT_EXIST);
}