FastMovieAI 二开基线 v1.0 (完整源码)

This commit is contained in:
李建琦
2026-08-26 18:41:02 +08:00
parent fad7690c0c
commit d54584f70d
888 changed files with 105571 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace support;
use plugin\notification\expose\helper\Online;
use Workerman\Worker;
class Event
{
// 在 Worker 启动时执行
public static function start(?Worker $worker = null)
{
if ($worker && $worker->name == 'plugin.webman.push.server') {
echo "Worker {$worker->name} 启动成功\n";
Online::clear();
echo "Worker {$worker->name} 清除历史在线用户成功\n";
}
}
}