更新第三方登录插件扩展
This commit is contained in:
@@ -120,7 +120,7 @@ class Addons extends Base {
|
||||
if ($this->request->isPost()) {
|
||||
$config = $this->request->post();
|
||||
$id = $this->request->param('id');
|
||||
|
||||
|
||||
$result = AddonsM::update(['config' => $config], ['id' => $id]);
|
||||
if ($result) {
|
||||
return $this->success('完成设置!');
|
||||
@@ -138,8 +138,9 @@ class Addons extends Base {
|
||||
|
||||
$keyList = $class->getConfig(true);
|
||||
$this->data = array(
|
||||
'info' => $info['config'],
|
||||
'keyList' => $keyList,
|
||||
'meta_title' => $info['title'] . " - 设置"
|
||||
'meta_title' => $info['title'] . " - 设置",
|
||||
);
|
||||
return $this->fetch('admin/public/edit');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user