mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update sys.php
This commit is contained in:
parent
60c14527f7
commit
2c89f9a760
@ -15,6 +15,8 @@
|
||||
|
||||
use think\Console;
|
||||
|
||||
Console::starting(function (Console $console) {
|
||||
$console->addCommand('app\wechat\command\Fans');
|
||||
});
|
||||
if (app()->request->isCli()) {
|
||||
Console::starting(function (Console $console) {
|
||||
$console->addCommand('app\wechat\command\Fans');
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user