Update Auth.php

This commit is contained in:
Anyon 2020-01-08 10:39:48 +08:00
parent d241b4c3a0
commit 3a94654076

View File

@ -17,7 +17,6 @@ namespace app\admin\controller;
use think\admin\Controller; use think\admin\Controller;
use think\admin\service\AdminService; use think\admin\service\AdminService;
use app\wechat\service\WechatService;
/** /**
* 系统权限管理 * 系统权限管理
@ -81,7 +80,7 @@ class Auth extends Controller
*/ */
public function state() public function state()
{ {
$this->_applyFormToken(); $this->_applyFormToken();
$this->_save($this->table, ['status' => input('status')]); $this->_save($this->table, ['status' => input('status')]);
} }