fix 修复 更改错误 内部调用未走aop代理问题
This commit is contained in:
parent
35fac6cc0c
commit
ee80e97578
@ -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("文件数据不存在!");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user