Files
hyperf_service/config/autoload/system.php
2025-04-16 15:13:03 +08:00

32 lines
913 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'),
//api_url
'api_url' => env('DEFAULT_API_URL','http://127.0.0.1:9501'),
// upload_dir
'upload_dir' => BASE_PATH.'/uploads/',
];