Update Auth.php

This commit is contained in:
Anyon 2019-12-02 17:25:07 +08:00
parent 8d4ef5cb36
commit d47622328c

View File

@ -108,7 +108,6 @@ class Auth extends Controller
} }
$this->app->db->name('SystemAuthNode')->where($map)->delete(); $this->app->db->name('SystemAuthNode')->where($map)->delete();
$this->app->db->name('SystemAuthNode')->insertAll($data); $this->app->db->name('SystemAuthNode')->insertAll($data);
AdminService::instance()->apply(true);
$this->success('权限授权修改成功!', 'javascript:history.back()'); $this->success('权限授权修改成功!', 'javascript:history.back()');
} else { } else {
$this->title = '权限配置节点'; $this->title = '权限配置节点';