代码初始化

This commit is contained in:
2025-08-07 20:21:47 +08:00
commit 50f3a2dbb0
2191 changed files with 374790 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace app\api\controller;
class Cron
{
//每秒执行
public function PerformPerSecond()
{
$cron = new \app\cron\controller\PerformPerSecond();
$cron->index();
}
//每周执行
public function PerformPerWeek()
{
$cron = new \app\cron\controller\Subsidy();
$cron->index();
}
//每10秒执行
public function TenSeconds()
{
$cron = new \app\cron\controller\TenSeconds();
$cron->index();
}
}