From 381268ab15ff209c1b721b6efea16904a83f20c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 23 Feb 2021 15:36:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/DatabasesProviders.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Database/DatabasesProviders.php b/Database/DatabasesProviders.php index fad0ccb7..779ef8d2 100644 --- a/Database/DatabasesProviders.php +++ b/Database/DatabasesProviders.php @@ -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'); }