相对路径定位
							parent
							
								
									76aa9de80c
								
							
						
					
					
						commit
						ca5f8d839c
					
				| 
						 | 
				
			
			@ -211,8 +211,8 @@ namespace IRaCIS.Core.Application.Contracts
 | 
			
		|||
        public async Task<FileContentResult> NoneDicomFilePreview(string relativePath)
 | 
			
		||||
        {
 | 
			
		||||
            var rootPath = Directory.GetParent(_hostEnvironment.ContentRootPath.TrimEnd('\\')).IfNullThrowException().FullName;
 | 
			
		||||
 | 
			
		||||
            var _fileStorePath = Path.Combine(rootPath, relativePath);
 | 
			
		||||
       
 | 
			
		||||
            var _fileStorePath = Path.Combine(rootPath, relativePath.Replace('/', '\\')); 
 | 
			
		||||
 | 
			
		||||
            var storePreviewPath = _fileStorePath + ".preview.jpeg";
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue