From b745a014e3f32f4ef7c81831d8d9457a3b3a230d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 02 十二月 2024 17:03:21 +0800
Subject: [PATCH] 10323 【越南】后台公会的特殊需求(新增使用媒体卡汇报;新增可选根据媒体卡类型配置账号分组;充值订单、充值排行、查看玩家支持显示分组;)

---
 GMToolClient/GMTManage/GMT_GetPlayerInfo.php |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/GMToolClient/GMTManage/GMT_GetPlayerInfo.php b/GMToolClient/GMTManage/GMT_GetPlayerInfo.php
index 4e3b88b..2103587 100644
--- a/GMToolClient/GMTManage/GMT_GetPlayerInfo.php
+++ b/GMToolClient/GMTManage/GMT_GetPlayerInfo.php
@@ -1,4 +1,5 @@
 锘�<?php
+include_once "/db/DataMgr.php";
 include_once "/language/lang.php";
 include_once "/Common/CommFunc.php";
 
@@ -44,6 +45,15 @@
 	}
 }
 
+CommFunc\GetConfig("ServerInfo", "CoupontypeGroup", $CoupontypeGroup);
+$CoupontypeGroup = json_decode($CoupontypeGroup, true);
+if (isset($CoupontypeGroup)) {
+	$playerInfoKeyCh["AccountGroup"] = \Lang\gettext('鍒嗙粍');
+	$accountInfo = \CommFunc\GetAccountInfoByAccID($playerInfo["AccID"]);
+	$Coupontype = \DataMgr\GetCoupontypeGroup($accountInfo["Channel"], $accountInfo["AccountID"], $accountInfo["ServerID"]);
+	$playerInfo["AccountGroup"] = array_key_exists($Coupontype, $CoupontypeGroup) ? $CoupontypeGroup[$Coupontype] : "";
+}
+
 //echo $_POST[data];
 ?>
 

--
Gitblit v1.8.0