mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-12 06:18:12 +08:00
fix: 更新修改 Model::mq() 处理机制,标准化返回 Query & Model
This commit is contained in:
parent
0cb0abeaee
commit
27ee1fa363
@ -71,7 +71,7 @@ abstract class Model extends \think\Model
|
|||||||
*/
|
*/
|
||||||
public static function mq(array $data = [])
|
public static function mq(array $data = [])
|
||||||
{
|
{
|
||||||
return static::mk($data)->newQuery();
|
return Helper::buildQuery(static::mk($data)->newQuery());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user