From afd4724b931f48efdc0e55e539ff6218d1821b51 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 十二月 2024 11:38:29 +0800
Subject: [PATCH] 10323 【越南】后台公会的特殊需求(没有配置的公会分组卡类型不记录分组数据;)

---
 eventreport/eventreport.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/eventreport/eventreport.php b/eventreport/eventreport.php
index c694dc5..01a89bd 100644
--- a/eventreport/eventreport.php
+++ b/eventreport/eventreport.php
@@ -296,6 +296,11 @@
 	$AccountID = $_GET["accid"];
 	$code = $_GET["code"];
 	$coupontype = $_GET["coupontype"];
+	$CoupontypeGroup = json_decode($CoupontypeGroup);
+	if (!array_key_exists($coupontype, $CoupontypeGroup)) {
+		// \Logging\LogInfo("CoupontypeGroup 涓嶉渶瑕佽褰曠殑缁�:" . $coupontype);
+		return;
+	}
 
 	$find = array("Channel" => $Channel, "AccountID" => $AccountID, "ServerID" => $ServerID);
 	if (!\DBOper\FindOne("CoupontypeGroup", $find, $findData)) {

--
Gitblit v1.8.0