Files
fastmovieai/fastmovie-admin/config/plugin/webman/push/app.php
T
李建琦 eae151fd57 FastMovieAI AI短剧创作平台 二开基线
- 源码: xhadmincn/FastMovieAI (Apache 2.0)
- 二开: Docker部署, Swoole改Select, route.php修复, 补update/VERSION
- vendor/示例资源已gitignore
2026-08-26 18:37:36 +08:00

12 lines
483 B
PHP

<?php
$enable=file_exists(base_path('plugin/notification'));
$d=[
'enable' => $enable,
'websocket' => 'websocket://0.0.0.0:'.getenv('PUSH_WSS_PORT'),
'api' => 'http://0.0.0.0:'.getenv('PUSH_API_PORT'),
'app_key' => getenv('PUSH_KEY'),
'app_secret' => getenv('PUSH_SCERET'),
'channel_hook' => 'http://127.0.0.1:'.getenv('SERVER_PORT').'/app/notification/push/hook',
'auth' => '/app/notification/api/push/auth'
];
return $d;