Files
hyperf_service/config/autoload/system.php
2024-11-11 17:09:57 +08:00

28 lines
773 B
PHP

<?php
/**
* This config file is part of item.
*
* @author ctexthuang
* @contact ctexthuang@qq.com
*/
declare(strict_types=1);
use function Hyperf\Support\env;
return [
// api 返回加密/解密 key
'api_return_key' => env('API_RETURN_KEY','hhl@shenzhen'),
// jwt 加密 key
'jwt_key' => env('JWT_KEY','hhl@shenzhen'),
// jwt 过期时间
'jwt_expire' => env('JWT_EXPIRE',86400 * 30),
// admin jwt 过期时间
'admin_jwt_expire' => env('ADMIN_JWT_EXPIRE',86400 * 30),
// admin 默认密码
'admin_default_password' => '123456',
// 微信小程序的appid
'wx_appid' => env('WX_APPID','wxc2bc0e47e212d831'),
// 微信小程序的secret
'wx_secret' => env('WX_SECRET','5d89ebae17d836625f0e155216d71f2d'),
];