diff --git a/library/think/Model.php b/library/think/Model.php index 6ba89de6..7281d9af 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -1554,7 +1554,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess public static function useGlobalScope($use) { $model = new static(); - return $model; + return $model->db($use); } /**