28 lines
723 B
PHP
28 lines
723 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',''),
|
|
// 微信小程序的secret
|
|
'wx_secret' => env('WX_SECRET',''),
|
|
]; |