From daa06a8e3cbd7afd11d05c3222c8edbdc9909bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sat, 28 Apr 2018 15:57:54 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=E5=9B=A0ThinkPHP=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E5=AF=BC=E8=87=B4=E5=BE=AE=E4=BF=A1=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E5=AD=97=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Keys.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/application/wechat/controller/Keys.php b/application/wechat/controller/Keys.php index d4f1d71e3..e680a008c 100644 --- a/application/wechat/controller/Keys.php +++ b/application/wechat/controller/Keys.php @@ -151,8 +151,7 @@ class Keys extends BasicAdmin public function subscribe() { $this->assign('title', '编辑默认回复'); - $extend = ['keys' => 'subscribe']; - return $this->_form($this->table, 'form', 'keys', $extend, $extend); + return $this->_form($this->table, 'form', 'keys', [], ['keys' => 'subscribe']); } @@ -167,8 +166,7 @@ class Keys extends BasicAdmin public function defaults() { $this->assign('title', '编辑无配置默认回复'); - $extend = ['keys' => 'default']; - return $this->_form($this->table, 'form', 'keys', $extend, $extend); + return $this->_form($this->table, 'form', 'keys', [], ['keys' => 'default']); } /**