From 27ee1fa363e68da189a5285943fe9481f96e051c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 12 Mar 2025 23:11:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E4=BF=AE=E6=94=B9=20M?= =?UTF-8?q?odel::mq()=20=E5=A4=84=E7=90=86=E6=9C=BA=E5=88=B6=EF=BC=8C?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=8C=96=E8=BF=94=E5=9B=9E=20Query=20&=20Mod?= =?UTF-8?q?el?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/think-library/src/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/think-library/src/Model.php b/plugin/think-library/src/Model.php index 0acf08869..24277aa32 100644 --- a/plugin/think-library/src/Model.php +++ b/plugin/think-library/src/Model.php @@ -71,7 +71,7 @@ abstract class Model extends \think\Model */ public static function mq(array $data = []) { - return static::mk($data)->newQuery(); + return Helper::buildQuery(static::mk($data)->newQuery()); } /**