Files
mayi-grade/config/auth.php
T
2019-12-02 17:00:24 +08:00

27 lines
1.2 KiB
PHP

<?php
/**
* +----------------------------------------------------------------------
* | think-auth [thinkphp6]
* +----------------------------------------------------------------------
* .--, .--, | FILE: config.php
* ( ( \.---./ ) ) | AUTHOR: byron
* '.__/o o\__.' | EMAIL: xiaobo.sun@qq.com
* {= ^ =} | QQ: 150093589
* / \ | DATETIME: 2019/11/7 15:51
* // \\ |
* //| . |\\ |
* "'\ /'"_.-~^`'-. |
* \ _ /--' ` |
* ___)( )(___ |-----------------------------------------
* (((__) (__))) | 高山仰止,景行行止.虽不能至,心向往之。
* +----------------------------------------------------------------------
* | Copyright (c) 2019 http://www.zzstudio.net All rights reserved.
* +----------------------------------------------------------------------
*/
declare(strict_types=1);
return [
'auth_on' => 1, // 权限开关
'auth_type' => 1, // 认证方式,1为实时认证;2为登录认证。
'auth_user' => 'admin', // 用户信息不带前缀表名
];