hxp
2025-02-17 6c4492a73f0c57ef2a7676ae1788500c6cfb5235
api/gmgame/paygmgame.php
@@ -36,7 +36,8 @@
} else {
    $postData = $_POST;
}
\Logging\LogInfo("postData: " . print_r($postData, true));
$pid = $_GET["pid"];
\Logging\LogInfo("postData: " . print_r($postData, true) . " pid:" . $pid);
$nt_data = $postData['nt_data'];
$sign = $postData['sign'];
@@ -48,8 +49,8 @@
if (
    !\CfgReader\ReadConfig()
    || !\CfgReader\GetConfigData("gmgame", "Md5_Key", $Md5_Key)
    || !\CfgReader\GetConfigData("gmgame", "Callback_Key", $Callback_Key)
    || !\CfgReader\GetConfigData("gmgame", "Md5_" . $pid . "_Key", $Md5_Key)
    || !\CfgReader\GetConfigData("gmgame", "Callback_" . $pid . "_Key", $Callback_Key)
) {
    Ret("CfgError");
    exit;