mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2025-10-14 22:10:27 +00:00
fix 修复 更改错误 内部调用未走aop代理问题
This commit is contained in:
@@ -91,7 +91,7 @@ public class SysOssServiceImpl implements ISysOssService {
|
||||
|
||||
@Override
|
||||
public void download(Long ossId, HttpServletResponse response) throws IOException {
|
||||
SysOssVo sysOss = this.getById(ossId);
|
||||
SysOssVo sysOss = SpringUtils.getAopProxy(this).getById(ossId);
|
||||
if (ObjectUtil.isNull(sysOss)) {
|
||||
throw new ServiceException("文件数据不存在!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user