dever 6 years ago
parent
commit
9f95aae869
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/View.php

+ 2 - 1
src/View.php

@@ -175,8 +175,9 @@ class View
     }
 
 	# 根据配置生成缩略图 暂时支持缩略图
-	public function get($file)
+	public function get()
 	{
+        $file = Dever::input('file');
         $array = $this->getFile($file);
         $source = $array[0];
         $type = $array[1];