From c354bd5940a1eb9df37b774f9a73b68878913104 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 13 十二月 2025 12:16:15 +0800
Subject: [PATCH] 389 流向记录(汇报中心角色信息增加: 真实充值、战力、主线任务、主线过关、公会名、官职、祝福数、主阵容信息;)

---
 eventreport/eventreport.php |   15 ++++++++++++---
 api/x7/commfromx7.php       |    4 ++--
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/api/x7/commfromx7.php b/api/x7/commfromx7.php
index a8bfde2..ed8ae58 100644
--- a/api/x7/commfromx7.php
+++ b/api/x7/commfromx7.php
@@ -251,7 +251,7 @@
         $serverName = $gameServers[$serverId]["Name"];
     }
     $FightPower = array_key_exists("FightPower", $roleInfo) ? $roleInfo["FightPower"] : 0;
-    $AllCoinTotal = array_key_exists("AllCoinTotal", $roleInfo) ? round($roleInfo["AllCoinTotal"] / 100.0, 2) : 0;
+    $CTGRealTotal = array_key_exists("CTGRealTotal", $roleInfo) ? round($roleInfo["CTGRealTotal"] / 100.0, 2) : 0;
     $FamilyName = array_key_exists("FamilyName", $roleInfo) ? $roleInfo["FamilyName"] : "";
     if ($FamilyName == null) {
         $FamilyName = "";
@@ -265,7 +265,7 @@
         "roleLevel" => $roleInfo["LV"] . "",
         "roleCE" => $FightPower . "",
         "roleStage" => "",
-        "roleRechargeAmount" => $AllCoinTotal,
+        "roleRechargeAmount" => $CTGRealTotal,
         "roleGuild" => $FamilyName,
     );
 }
diff --git a/eventreport/eventreport.php b/eventreport/eventreport.php
index 01a89bd..2bc2670 100644
--- a/eventreport/eventreport.php
+++ b/eventreport/eventreport.php
@@ -90,7 +90,6 @@
 	$FamilyName = array_key_exists("FamilyName", $_GET) ? $_GET["FamilyName"] : "";
 	$FightPower = $_GET["FightPower"];
 	settype($FightPower, "float");
-	$AllCoinTotal = intval($_GET["AllCoinTotal"]);
 
 	if (!$AccountID || !$PlayerID || !$PlayerName || !$LV || !$Job || !$IP) {
 		Response(1003, "role param error");
@@ -107,7 +106,7 @@
 	if (!isset($findData)) {
 		$newAccount = true;
 	}
-	\Logging\LogInfo("newAccount:" . $newAccount . " findData:" . print_r($findData, true));
+	// \Logging\LogInfo("newAccount:" . $newAccount . " findData:" . print_r($findData, true));
 
 	$roleInfo = array();
 	if (isset($findData) && array_key_exists($RegionName, $findData)) {
@@ -129,7 +128,17 @@
 	$roleInfo["IP"] = $IP;
 	$roleInfo["FamilyName"] = $FamilyName;
 	$roleInfo["FightPower"] = $FightPower;
-	$roleInfo["AllCoinTotal"] = $AllCoinTotal;
+	$roleInfo["CTGRealTotal"] = intval($_GET["CTGRealTotal"]);
+	$roleInfo["MainTaskID"] = intval($_GET["MainTaskID"]);
+	$roleInfo["MainPassLVID"] = intval($_GET["MainPassLVID"]);
+	$roleInfo["ReamlLV"] = intval($_GET["ReamlLV"]);
+	$roleInfo["TreeLV"] = intval($_GET["TreeLV"]);
+	$roleInfo["LineupHero"] = $_GET["LineupHero"];
+	foreach ($_GET as $key => $value) {
+		if (\CommFunc\startsWith($key, "FBPass")) {
+			$roleInfo[$key] = $value;
+		}
+	}
 	if (array_key_exists("CreateRoleTime", $_GET)) {
 		$roleInfo["CreateRoleTime"] = $_GET["CreateRoleTime"];
 	}

--
Gitblit v1.8.0