From a74f9b9557ec5014bbd107933f94ad9977ecd696 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Thu, 13 Nov 2025 16:08:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=A2=E6=9C=8D=E5=88=97?= =?UTF-8?q?=E8=A1=A8=EF=BC=8830=E5=A4=A9=E6=B2=A1=E6=9C=89=E5=9C=A8?= =?UTF-8?q?=E7=BA=BF=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chukebao/controller/CustomerServiceController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Server/application/chukebao/controller/CustomerServiceController.php b/Server/application/chukebao/controller/CustomerServiceController.php index deb955bc..d0eefb66 100644 --- a/Server/application/chukebao/controller/CustomerServiceController.php +++ b/Server/application/chukebao/controller/CustomerServiceController.php @@ -21,8 +21,12 @@ class CustomerServiceController extends BaseController // 确保即使有空数组也不会报错,并且去除重复值 $accountIds = array_unique(array_merge($accountIds1 ?: [], $accountIds2 ?: [])); + + + $wechatAliveTime = time() - 86400 * 30; $list = Db::table('s2_wechat_account') ->whereIn('id',$accountIds) + ->where('wechatAliveTime','>',$wechatAliveTime) ->order('id desc') ->group('id') ->select();