Skip to content

Commit 773015c

Browse files
authored
Create auth.php
1 parent 82ee268 commit 773015c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/config/auth.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)