|  | @@ -1799,7 +1799,7 @@ module.exports = app => {
 | 
	
		
			
				|  |  |              const id = ctx.params.id;
 | 
	
		
			
				|  |  |              try {
 | 
	
		
			
				|  |  |                  if (!id) throw '数据错误';
 | 
	
		
			
				|  |  | -                const fileInfo = ctx.service.payAtt.getDataById(id);
 | 
	
		
			
				|  |  | +                const fileInfo = await ctx.service.payAtt.getDataById(id);
 | 
	
		
			
				|  |  |                  if (!fileInfo) throw '不存在该文件';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  const fileName = path.join(this.app.baseDir, fileInfo.filepath);
 |