This commit is contained in:
2021-02-22 18:17:43 +08:00
parent 7deb1e9b03
commit b1c06b8483
2 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -134,13 +134,13 @@ class Application extends BaseApplication
public function scan_system_annotation()
{
$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->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');
}