改名
This commit is contained in:
@@ -50,6 +50,9 @@ class DatabasesProviders extends Providers
|
|||||||
*/
|
*/
|
||||||
public function scanModel()
|
public function scanModel()
|
||||||
{
|
{
|
||||||
|
if (str_contains(env('workerId', ''), 'Task')) {
|
||||||
|
var_dump(get_called_class());
|
||||||
|
}
|
||||||
$attributes = Snowflake::app()->getAttributes();
|
$attributes = Snowflake::app()->getAttributes();
|
||||||
$attributes->read(MODEL_PATH, 'App\Models', 'models');
|
$attributes->read(MODEL_PATH, 'App\Models', 'models');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user