From 0bd954993d99145d305f0377c53da199d16904e7 Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Wed, 22 Oct 2025 16:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=98=E6=89=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/webman/gateway/Events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/webman/gateway/Events.php b/plugin/webman/gateway/Events.php index 39160d3..b056c19 100644 --- a/plugin/webman/gateway/Events.php +++ b/plugin/webman/gateway/Events.php @@ -135,7 +135,7 @@ class Events if($time_discount_info) { $arr_time_discount_info = explode(',', $time_discount_info); if(!in_array($redis_str, $arr_time_discount_info)) { - $time_discount_info = array_merge($arr_time_discount_info, $redis_str); + $time_discount_info = array_merge($arr_time_discount_info, [$redis_str]); Redis::set('time_discount:info', implode(',', $time_discount_info) . ','); } }else {