This commit is contained in:
2021-02-23 15:36:09 +08:00
parent dd651e2191
commit 381268ab15
+3
View File
@@ -50,6 +50,9 @@ class DatabasesProviders extends Providers
*/
public function scanModel()
{
if (str_contains(env('workerId', ''), 'Task')) {
var_dump(get_called_class());
}
$attributes = Snowflake::app()->getAttributes();
$attributes->read(MODEL_PATH, 'App\Models', 'models');
}