[修复]因ThinkPHP升级导致微信关键字编辑功能

This commit is contained in:
邹景立 2018-04-28 15:57:54 +08:00
parent edf9413277
commit daa06a8e3c

View File

@ -151,8 +151,7 @@ class Keys extends BasicAdmin
public function subscribe() public function subscribe()
{ {
$this->assign('title', '编辑默认回复'); $this->assign('title', '编辑默认回复');
$extend = ['keys' => 'subscribe']; return $this->_form($this->table, 'form', 'keys', [], ['keys' => 'subscribe']);
return $this->_form($this->table, 'form', 'keys', $extend, $extend);
} }
@ -167,8 +166,7 @@ class Keys extends BasicAdmin
public function defaults() public function defaults()
{ {
$this->assign('title', '编辑无配置默认回复'); $this->assign('title', '编辑无配置默认回复');
$extend = ['keys' => 'default']; return $this->_form($this->table, 'form', 'keys', [], ['keys' => 'default']);
return $this->_form($this->table, 'form', 'keys', $extend, $extend);
} }
/** /**