Explorar o código

储物间玩家字段bug修复

cyzhao %!s(int64=3) %!d(string=hai) anos
pai
achega
3b7e383ba4

+ 3 - 3
Gameserver/Amfphp/model/User/Info_Store.php

@@ -84,11 +84,11 @@ class Info_Store extends Object_ext {
         $this->weaponPool = ObjectInit();
         $this->weaponReward = ObjectInit();
         
-        $this->$storage = ObjectInit();
+        $this->storage = ObjectInit();
         $key = 1;
         $key2 = 2;
-        $this->$storage->$key = array();
-        $this->$storage->$key2 = array();
+        $this->storage->$key = array();
+        $this->storage->$key2 = array();
         
     }
 

+ 1 - 1
Gameserver/Amfphp/process/StoreProc.php

@@ -150,7 +150,7 @@ class StoreProc {
 
         UserProc::updateUserInfo();
 
-        return Resp::ok();
+        return Resp::ok(array("store"=> ctx()->store(),));
     }
 
     /**