完善错误提示页面
This commit is contained in:
1 parent
30185b533b
commit
f39f4982bd
9 files changed
+68
-232
No files matched your search
@@ -78,7 +78,7 @@ class YanZheng extends Controller
|
||||
|
||||
// 验证方法
|
||||
if( !$auth->check($url, session('userid')) && $except == false ){// 第一个参数是规则名称,第二个参数是用户UID
|
||||
$this->error('哎哟~ 权限不足');
|
||||
$this->error('哎哟~ 因为权限不足');
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
||||
Reference in new issue
Block a user