王刚 1 year ago
parent
commit
9d2944898f
2 changed files with 3 additions and 3 deletions
  1. 1 1
      Gameserver/App/model/User/Info_Gates.php
  2. 2 2
      Gameserver/App/util/CRedisUtil.php

+ 1 - 1
Gameserver/App/model/User/Info_Gates.php

@@ -63,10 +63,10 @@ class Info_Gates extends Object_ext {
                 $Ins_GateInfo->GateId = $this->CurrentGateId;
                 $this->GateList->$startId = $Ins_GateInfo;
             }
-
             $this->GatesChallengeRecord = new \stdClass();
         } else {
             parent::__construct($arg);
+            $this->GatesChallengeRecord = new \stdClass();
         }
     }
 }

+ 2 - 2
Gameserver/App/util/CRedisUtil.php

@@ -702,9 +702,9 @@ Lua;
         try {
             $castoken = "stVer";
             $casVer = $dic->stVer;
-            CLog::err($dic->toString());
+//            CLog::err($dic->toString());
             $ret = $this->redis->eval($script, 2, $key, $castoken, $casVer, $dic->toString());  # redis 执行lua脚本
-            CLog::err($dic->toString());
+//            CLog::err($dic->toString());
             if (0 == $ret) {
                 return false;
             }