将所有主要逻辑代码迁移到extend中,并在service中注册调用;

This commit is contained in:
2023-10-18 16:32:28 +08:00
parent a4e56caebb
commit 6195ac6be5
31 changed files with 624 additions and 605 deletions

View File

@@ -45,7 +45,7 @@ class TimerBase extends Command
while (true) {
try {
$config_list = include __DIR__ . '/timer/config.php';
$config_list = include app_file_path('common/command/timer/config.php');
$list_promises = [];
foreach ($config_list as $config_item) {