代码拉取完成,页面将自动刷新
<?php
/*
* This file is part of TAnt.
* @link https://github.com/edenleung/think-admin
* @document https://www.kancloud.cn/manual/thinkphp6_0
* @contact QQ Group 996887666
* @author Eden Leung 758861884@qq.com
* @copyright 2019 Eden Leung
* @license https://github.com/edenleung/think-admin/blob/6.0/LICENSE.txt
*/
return [
'stores' => [
'admin' => [
'sso' => [
'enable' => true,
],
'token' => [
'unique_id_key' => 'uid',
'signer_key' => 'RvAjzUshtJs',
'not_before' => 0,
'expires_at' => 3600,
'refresh_ttL' => 7200,
'signer' => 'Lcobucci\JWT\Signer\Hmac\Sha256',
'type' => 'Header|Url',
'relogin_code' => 50001,
'refresh_code' => 50002,
'iss' => 'client.tant',
'aud' => 'server.tant',
'automatic_renewal' => false,
],
'user' => [
'bind' => true,
'class' => 'app\\common\\model\\User',
],
],
'api' => [
'sso' => [
'enable' => false,
],
'token' => [
'unique_id_key' => 'uid',
'signer_key' => 'Dide36Tmm',
'not_before' => 0,
'expires_at' => 86400 * 30,
'refresh_ttL' => 86400 * 30,
'signer' => 'Lcobucci\JWT\Signer\Hmac\Sha256',
'type' => 'Header',
'relogin_code' => 50001,
'refresh_code' => 50002,
'iss' => 'client.tant',
'aud' => 'server.tant',
'automatic_renewal' => false,
],
'user' => [
'bind' => true,
'class' => 'app\\common\\model\\Member',
],
],
],
'manager' => [
// 缓存前缀
'prefix' => 'jwt',
// 黑名单缓存名
'blacklist' => 'blacklist',
// 白名单缓存名
'whitelist' => 'whitelist',
],
];
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。