扩展插件功能完善
测试扩展编写
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user