Files
hyperf_service/config/autoload/system.php
2025-07-24 17:02:07 +08:00

36 lines
1.0 KiB
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/',
// 默认的厨房 id
'default_kitchen_id' => env('DEFAULT_KITCHEN_ID',1),
// 默认 城市 id
'default_city_id' => env('DEFAULT_CITY_ID',3),
];