| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -79,6 +79,7 @@ object BookController { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            ?: return returnData.setErrorMsg("bookUrl为空") | 
					 | 
					 | 
					 | 
					            ?: return returnData.setErrorMsg("bookUrl为空") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        val src = parameters["path"]?.firstOrNull() | 
					 | 
					 | 
					 | 
					        val src = parameters["path"]?.firstOrNull() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            ?: return returnData.setErrorMsg("图片链接为空") | 
					 | 
					 | 
					 | 
					            ?: return returnData.setErrorMsg("图片链接为空") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        val width = parameters["width"]?.firstOrNull()?.toInt() ?: 640 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (this.bookUrl != bookUrl) { | 
					 | 
					 | 
					 | 
					        if (this.bookUrl != bookUrl) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.book = appDb.bookDao.getBook(bookUrl) | 
					 | 
					 | 
					 | 
					            this.book = appDb.bookDao.getBook(bookUrl) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                ?: return returnData.setErrorMsg("bookUrl不对") | 
					 | 
					 | 
					 | 
					                ?: return returnData.setErrorMsg("bookUrl不对") | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -94,7 +95,7 @@ object BookController { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.bookUrl = bookUrl | 
					 | 
					 | 
					 | 
					        this.bookUrl = bookUrl | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return returnData.setData( | 
					 | 
					 | 
					 | 
					        return returnData.setData( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            BitmapUtils.decodeBitmap(vFile.absolutePath, 640, 640) | 
					 | 
					 | 
					 | 
					            BitmapUtils.decodeBitmap(vFile.absolutePath, width, width) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ) | 
					 | 
					 | 
					 | 
					        ) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |