修改服务存储切换bug
							parent
							
								
									b9f78c5f0b
								
							
						
					
					
						commit
						81f5b47918
					
				| 
						 | 
				
			
			@ -85,8 +85,7 @@ namespace IRaCIS.Core.API
 | 
			
		|||
                if (defaultFileProvider.GetFileInfo(path).Exists)
 | 
			
		||||
                {
 | 
			
		||||
 | 
			
		||||
                    var actrualPath = defaultFileProvider.GetFileInfo(path).PhysicalPath;
 | 
			
		||||
                    var actrualPath2 = defaultFileProvider.GetFileInfo(path).PhysicalPath;
 | 
			
		||||
                    var actrualPath = defaultFileProvider.GetFileInfo(path).PhysicalPath;                
 | 
			
		||||
 | 
			
		||||
                    await context.Response.SendFileAsync(new PhysicalFileInfo(new FileInfo(actrualPath)));
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -545,7 +545,7 @@ public static class FileStoreHelper
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        //默认存储的路径
 | 
			
		||||
        var defaultStoreRootFolder = FileStoreHelper.GetIRaCISRootDataFolder(_hostEnvironment);
 | 
			
		||||
        var defaultStoreRootFolder = FileStoreHelper.GetIRaCISRootPath(_hostEnvironment);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        DriveInfo defaultDrive = new DriveInfo(Path.GetPathRoot(defaultStoreRootFolder));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue