From cc70bc5b54728a8501c94bdb6f320532e4edbf5d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 14 五月 2025 14:53:57 +0800
Subject: [PATCH] 1111 【后台】修复个人邮件审核失败bug;

---
 Account/userlogdetail.php |    6 +++++-
 Common/GMCmdProcess.php   |    1 +
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Account/userlogdetail.php b/Account/userlogdetail.php
index 1ee02b3..578f4ba 100644
--- a/Account/userlogdetail.php
+++ b/Account/userlogdetail.php
@@ -42,11 +42,15 @@
     $doCheck = intval($_GET["doCheck"]);
     if ($doCheck == \User\GMTCheckState::OK) {
         $postUrl = 'http://' . $_SERVER['HTTP_HOST'] . "/Common/GMCmdProcess.php";
-        $postData = array("processType" => "CheckOK", "GMTLogGUID" => $logInfo["GUID"]);
+        $postData = array("GMTLogGUID" => $logInfo["GUID"]);
         foreach ($logInfo["Post"] as $key => $value) {
             $postData[urlencode($key)] = $value;
         }
+        $postData["processType"] = "CheckOK";
+        \Logging\LogInfo("postUrl: " . $postUrl);
+        \Logging\LogInfo("postData: " . print_r($postData, true));
         $ret = \CommFunc\DoPost($postUrl, $postData, true);
+        \Logging\LogInfo("ret: " . $ret);
         $ret = json_decode($ret, true);
         $errorMsg = \Lang\gettext("鎿嶄綔澶辫触");
         if (!isset($ret) || $ret["ProcessRetCode"] != 0) {
diff --git a/Common/GMCmdProcess.php b/Common/GMCmdProcess.php
index 188ab31..7e14fa4 100644
--- a/Common/GMCmdProcess.php
+++ b/Common/GMCmdProcess.php
@@ -239,6 +239,7 @@
 
 	//鏈夐厤缃潰瀹℃潈闄愮殑锛岀帺瀹舵病鏈夊搴旈潰瀹℃潈闄愭椂锛屾棤娉曠洿鎺ュ彂閫�
 	if (array_key_exists("NOCheck", $logPerInfo) && !$user->HavePermission($logPerInfo["NOCheck"], false)) {
+		$_POST["tool_page"] = $tool_page;
 		if (AddGMTLog($SPID, $UserAccount, $logPermission, $_POST, \User\GMTCheckState::UnCheck)) {
 			echo \Lang\gettext("璇锋眰鎴愬姛锛岃鑱旂郴绠$悊鍛樿繘琛屽鏍�");
 		} else {

--
Gitblit v1.8.0