We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ee268 commit 773015cCopy full SHA for 773015c
src/config/auth.php
@@ -0,0 +1,12 @@
1
+<?php
2
+return[
3
+ // 权限设置
4
+ 'auth_config' => [
5
+ 'auth_on' => true, // 认证开关
6
+ 'auth_type' => 1, // 认证方式,1为实时认证;2为登录认证。
7
+ 'auth_group' => 'tp_auth_group', // 用户组数据表名
8
+ 'auth_group_access' => 'tp_auth_group_access', // 用户-用户组关系表
9
+ 'auth_rule' => 'tp_auth_rule', // 权限规则表
10
+ 'auth_user' => 'tp_admin' // 用户信息表
11
+ ],
12
+];
0 commit comments