hxp
2025-02-17 6c4492a73f0c57ef2a7676ae1788500c6cfb5235
api/gmgame/query_role.php
@@ -9,7 +9,8 @@
// https://www.eolink.com/share/inside/Yk3vUm/api/844628/detail/3309842
\Logging\CreateLogging("gmgame.query_role.php");
\Logging\LogInfo("_POST: " . print_r($_POST, true));
$pid = $_GET["pid"];
\Logging\LogInfo("_POST: " . print_r($_POST, true) . " pid:" . $pid);
$user = $_POST["user"]; // {channel}_{user_id},quick渠道ID_sdk账号ID
$server_id = $_POST["server_id"]; // 游戏区服ID
@@ -20,7 +21,7 @@
if (
    !\CfgReader\ReadConfig()
    || !\CfgReader\GetConfigData("gmgame", "Md5_Key", $Md5_Key)
    || !\CfgReader\GetConfigData("gmgame", "Md5_" . $pid . "_Key", $Md5_Key)
) {
    retFail("CfgError");
    exit;