Commit 49c5f416 authored by 王源's avatar 王源 🎧

Merge branch 'master' into test

parents b6fc6ff0 29e1b719
...@@ -199,6 +199,8 @@ interface StoreServiceInterface ...@@ -199,6 +199,8 @@ interface StoreServiceInterface
$args['where'] = []; $args['where'] = [];
$args['group'] = ['product_id'];//默认['product_id'] $args['group'] = ['product_id'];//默认['product_id']
$args['keyBy'] = 'product_id';//默认排序 $args['keyBy'] = 'product_id';//默认排序
$args['isKeyBy'] = $condition['isKeyBy'] ?? true;//是否加keyBy;
$args['isGroupBy'] = $condition['isGroupBy'] ?? true;//是否加分组;
* *
* author: fuyunnan * author: fuyunnan
* @param array $condition 筛选条件 * @param array $condition 筛选条件
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment