This commit is contained in:
2021-02-23 15:33:43 +08:00
parent 1adfdfa710
commit dd651e2191
4 changed files with 11 additions and 24 deletions
+7 -7
View File
@@ -136,13 +136,13 @@ class Application extends BaseApplication
$this->debug('scan system files...');
$annotation = Snowflake::app()->getAttributes();
$annotation->readControllers(__DIR__ . '/../Console/', 'Console', 'system');
$annotation->readControllers(__DIR__ . '/../Database/', 'Database', 'system');
$annotation->readControllers(__DIR__ . '/../Gii/', 'Gii', 'system');
$annotation->readControllers(__DIR__ . '/../HttpServer/', 'HttpServer', 'system');
$annotation->readControllers(__DIR__ . '/../Kafka/', 'Kafka', 'system');
$annotation->readControllers(__DIR__ . '/../System/', 'Snowflake', 'system');
$annotation->readControllers(__DIR__ . '/../Validator/', 'Validator', 'system');
$annotation->read(__DIR__ . '/../Console/', 'Console', 'system');
$annotation->read(__DIR__ . '/../Database/', 'Database', 'system');
$annotation->read(__DIR__ . '/../Gii/', 'Gii', 'system');
$annotation->read(__DIR__ . '/../HttpServer/', 'HttpServer', 'system');
$annotation->read(__DIR__ . '/../Kafka/', 'Kafka', 'system');
$annotation->read(__DIR__ . '/../System/', 'Snowflake', 'system');
$annotation->read(__DIR__ . '/../Validator/', 'Validator', 'system');
}