feat: config

This commit is contained in:
2024-10-26 16:26:10 +08:00
parent 5063f2f002
commit d15c03c04e
5 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use function Hyperf\Support\env;
return [
//是否开启定时任务
'enable' => env('CRONTAB_ENABLE', false),
];