| | |
| | | $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) { |