| | |
| | | include_once '/Common/Logging.php'; |
| | | include_once '/Common/PayOrder.php'; |
| | | include_once "/ProjComm/CfgReader.php"; |
| | | include_once "quicksdkAsy.php"; |
| | | include_once "../quick/quicksdkAsy.php"; |
| | | |
| | | header("Content-type: text/html; charset=utf-8"); |
| | | // https://www.quicksdk.com/doc-15.html |
| | |
| | | } 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']; |
| | |
| | | |
| | | 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; |