You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

61 lines
1.7 KiB

<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://doc.hyperf.io
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use Hyperf\Contract\StdoutLoggerInterface;
use Psr\Log\LogLevel;
return [
'app_name' => env('APP_NAME', 'skeleton'),
'app_env' => env('APP_ENV', 'dev'),
'scan_cacheable' => env('SCAN_CACHEABLE', false),
StdoutLoggerInterface::class => [
'log_level' => [
LogLevel::ALERT,
LogLevel::CRITICAL,
LogLevel::DEBUG,
LogLevel::EMERGENCY,
LogLevel::ERROR,
LogLevel::INFO,
LogLevel::NOTICE,
LogLevel::WARNING,
],
],
'site_host'=> env('SITE_HOST', ''),
'wxpay' => [
'app_id' => env('APP_ID',''),
'mch_id' => env('MCH_ID',''),
'key' => env('MCH_KEY',''),
'cert_path' => env('CERT_PATH',''),
'key_path' => env('KEY_PATH',''),
'notify_url' => env('NOTIFY_URL',''),
],
'applet' => [
'app_id' => env('APP_ID',''),
'secret' => env('APP_SECRET',''),
],
'alisms' => [
'app_key' => env('ALI_SMS_APP_KEY', ''),
'app_secret' => env('ALI_SMS_APP_SECRET', ''),
'regionid' => env('ALI_SMS_REGION_ID', ''),
'product' => env('ALI_SMS_PRODUCT', ''),
'host' => env('ALI_SMS_HOST', ''),
'sign_name' => env('ALI_SMS_SIGN_NAME', ''),
],
'alioss' => [
'img_host' => env('OSS_IMG_HOST', ''),
],
'lgoin' => [
'authkey' => env('STORE_LOGIN_AUTHKEY', ''),
],
'map' => [
'tencent' => env('TENCENT_MAP_KEY', ''),
],
];