Commit bc6c326f87fb8b9f96a70091085f4458d740b8d5

Authored by u123231312
1 parent df60a5ff

no message

@@ -176,6 +176,7 @@ class Template extends Common{ @@ -176,6 +176,7 @@ class Template extends Common{
176 }*/ 176 }*/
177 177
178 public function index(){ 178 public function index(){
  179 + //$path = $this->publicpath.'images/'.input('folder').'/'; ///Applications/XAMPP/xamppfiles/htdocs/dashboard/images/
179 $path = "/alidata/www/dc-api/public/tables/batchPicsyn"; 180 $path = "/alidata/www/dc-api/public/tables/batchPicsyn";
180 181
181 $uppath = explode('/',input('folder')); 182 $uppath = explode('/',input('folder'));
@@ -212,7 +213,7 @@ class Template extends Common{ @@ -212,7 +213,7 @@ class Template extends Common{
212 } 213 }
213 214
214 public function PackzipDownload(){ 215 public function PackzipDownload(){
215 - $path = "/alidata/www/dc-api/public/tables/batchPicsyn"; 216 + $path = "/alidata/www/dc-api/public/tables/batchPicsyn/";
216 $file=$path.input('post.filename'); 217 $file=$path.input('post.filename');
217 //首先判断是图片还是路径 218 //首先判断是图片还是路径
218 if($this->isImage($file)!==false){ 219 if($this->isImage($file)!==false){