fix: 更新修改 Model::mq() 处理机制,标准化返回 Query & Model

This commit is contained in:
邹景立 2025-03-12 23:11:11 +08:00
parent 0cb0abeaee
commit 27ee1fa363

View File

@ -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());
}
/**