feat: 项目基础框架+配置+Kernel
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace app\server\controller;
|
||||
use think\worker\Server;
|
||||
|
||||
class Worker extends Server
|
||||
{
|
||||
|
||||
public function onWorkerStart($work)
|
||||
{
|
||||
$handle=new Collection();
|
||||
$handle->add_timer();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user