mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08: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