diff --git a/application/admin/controller/Plugs.php b/application/admin/controller/Plugs.php index 6e66e9d4a..cebfbd4d2 100644 --- a/application/admin/controller/Plugs.php +++ b/application/admin/controller/Plugs.php @@ -48,7 +48,7 @@ class Plugs extends BasicAdmin { public function upstate() { $post = $this->request->post(); // 组装返回数据 - $data = array(); + $data = []; $data['uptype'] = $post['uptype']; $ext = pathinfo($post['filename'], PATHINFO_EXTENSION); $data['file_url'] = join('/', str_split($post['md5'], 16)) . ".{$ext}";