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
+1 -1
View File
@@ -51,7 +51,7 @@ class DatabasesProviders extends Providers
public function scanModel()
{
$attributes = Snowflake::app()->getAttributes();
$attributes->readControllers(MODEL_PATH, 'App\Models', 'models');
$attributes->read(MODEL_PATH, 'App\Models', 'models');
}