mirror of
http://124.126.16.154:8888/singularity/hdk-skeleton.git
synced 2026-01-15 05:35:07 +08:00
build(config): 添加 app_status 配置
Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
@@ -13,10 +13,12 @@ declare(strict_types=1);
|
||||
|
||||
use Hyperf\Contract\StdoutLoggerInterface;
|
||||
use Psr\Log\LogLevel;
|
||||
use function Hyperf\Support\env;
|
||||
|
||||
return [
|
||||
'app_name' => env('APP_NAME', 'skeleton'),
|
||||
'app_env' => env('APP_ENV', 'dev'),
|
||||
'app_status' => env('APP_STATUS', false),
|
||||
'scan_cacheable' => env('SCAN_CACHEABLE', false),
|
||||
StdoutLoggerInterface::class => env('APP_STATUS', false)
|
||||
? [
|
||||
@@ -43,24 +45,4 @@ return [
|
||||
LogLevel::WARNING,
|
||||
],
|
||||
],
|
||||
'language' => env('DEFAULT_LANGUAGE', 'en'),
|
||||
'prefix' => env('PREFIX', 'LuxStudio:token:map:'),
|
||||
|
||||
'aliyun_ak_id' => 'LTAI4GL64uQt4PewrGKKNKZf',
|
||||
'aliyun_ak_secret' => 'gyFtXJjoo1XWl0tfE2NI0pAU5LuzjJ',
|
||||
|
||||
// oss
|
||||
'oss_host' => env('OSS_UPLOAD_HOST', 'lux-studio-test.oss-cn-beijing.aliyuncs.com'),
|
||||
'oss_callback' => env('OSS_CALLBACK_API', 'https://test-studio.luxcreo.cn/api/v1/oss/callback'),
|
||||
|
||||
// Mailer
|
||||
'mailer_dsn' => 'smtp://account@luxcreo.ai:Qfsd8866@smtp.qiye.aliyun.com:465',
|
||||
'mailer_sender' => 'account@luxcreo.ai',
|
||||
'mailer_sender_name' => 'LuxCreo',
|
||||
|
||||
'secure_code_key' => env('SECURE_CODE_KEY', ''),
|
||||
'is_task_sync' => env('IS_TASK_SYNC', false),
|
||||
// 切换晶格时间(202301下架除了 GH-5 所有晶格),此时间之后不再考虑 deleted_at 时间
|
||||
// 202303 下架 GH-5
|
||||
'switch_lattice_time' => env('SWITCH_LATTICE_AT', '2023-03-07 14:55:00'),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user