Update sys.php

This commit is contained in:
邹景立 2021-06-06 21:31:02 +08:00
parent ed6280c506
commit 39b4af2f92

View File

@ -14,6 +14,7 @@ use think\Console;
$app = app();
if ($app->request->isCli()) {
// 动态注册操作指令
Console::starting(function (Console $console) {
$console->addCommand(OrderClean::class);
$console->addCommand(UserAgent::class);