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