30 lines
852 B
PHP
30 lines
852 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'),
|
|
]; |