From 1740495c3f4f041ba12b9c54d2daa5863f463426 Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Wed, 24 Oct 2018 11:12:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=9B=A0=E4=B8=BA=E5=A4=A7=E5=B0=8F=E5=86=99=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=96=87=E4=BB=B6=E6=A8=A1=E7=89=88=E4=B8=8D=E5=AD=98?= =?UTF-8?q?=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controller/system/SystemFile.php | 4 ++-- .../admin/view/system/system_file/opendir.php | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/application/admin/controller/system/SystemFile.php b/application/admin/controller/system/SystemFile.php index 0ecbc1b4..87eb8417 100644 --- a/application/admin/controller/system/SystemFile.php +++ b/application/admin/controller/system/SystemFile.php @@ -17,7 +17,7 @@ use service\JsonService as Json; class SystemFile extends AuthController { //打开目录 - public function openDir($filedir=''){ + public function opendir($filedir=''){ $fileAll = array('dir'=>[],'file'=>[]); if(Request::instance()->param('superior') && !empty(Request::instance()->param('dir'))){ $path = '.'.DS.Request::instance()->param('dir'); @@ -43,7 +43,7 @@ class SystemFile extends AuthController return $this->fetch(); } //读取文件 - public function openFile($file='') + public function openfile($file='') { $file = $this->request->param('file'); if(empty($file))return Json::fail('出现错误'); diff --git a/application/admin/view/system/system_file/opendir.php b/application/admin/view/system/system_file/opendir.php index b4557b86..19ab37ce 100644 --- a/application/admin/view/system/system_file/opendir.php +++ b/application/admin/view/system/system_file/opendir.php @@ -20,14 +20,14 @@ - 返回上级 + 返回上级 {volist name="fileAll['dir']" id="vo"} - {$vo.filename} + {$vo.filename} {$vo.size} @@ -37,7 +37,7 @@ - 打开 + 打开 @@ -45,7 +45,7 @@ {volist name="fileAll['file']" id="vo"} - {$vo.filename} + {$vo.filename} {$vo.size} @@ -55,10 +55,10 @@ - - - - + + + +