修改分页限制逻辑检测数量

This commit is contained in:
liu 2024-07-02 17:01:58 +08:00
parent 77c14d6508
commit 749911f804

View File

@ -905,7 +905,7 @@ class WorkbenchLogic extends BaseLogic
'ROUND((COUNT(distinct(pay_uid))-1)/COUNT(distinct(uid)),2) as changes',
'COUNT(distinct(pay_uid))-1 as repeats'
])->group('product_id')->order('pay', 'desc')
->limit(20)
// ->limit(20)
->select()->toArray();
foreach ($list as $key => &$item) {
$find = StoreProduct::where('id', $item['product_id'])->field('store_name,image')->find();