扩展插件功能完善

测试扩展编写
This commit is contained in:
2016-09-18 23:30:26 +08:00
parent e818c386e2
commit 8e3a918182
4 changed files with 102 additions and 55 deletions

View File

@@ -275,7 +275,7 @@ class Addons extends Admin {
//超级管理员删除钩子
public function delhook() {
$id = $this->getArrayParam('id');
$id = $this->getArrayParam('id');
$map['id'] = array('IN', $id);
$result = $this->hooks->where($map)->delete();
if ($result !== false) {