From d183cb50efeba1a566c887db2fe4ce1da527afa8 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Tue, 8 Nov 2022 18:08:38 +0800 Subject: [PATCH] edit-sylive-team --- home/controllers/h5/market/sylive/Tstic.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/controllers/h5/market/sylive/Tstic.php b/home/controllers/h5/market/sylive/Tstic.php index 4b1d61a3..5b7c47ec 100644 --- a/home/controllers/h5/market/sylive/Tstic.php +++ b/home/controllers/h5/market/sylive/Tstic.php @@ -336,7 +336,8 @@ class Tstic extends Admin{ if(strtotime($params['day'])){//根据日期排行 $where = [ 'activityId' => $a_id, - 'type' => 1 + 'type' => 1, + 'kpi' => $type ]; $params['day'] && $where['day'] = date('Y-m-d',strtotime($params['day'])); if($params['gtype']=='ty'){