cyzhao 1 年間 前
コミット
2483462587

+ 1 - 0
Gameserver/App/model/User/Data_UserGame.php

@@ -80,6 +80,7 @@ class Data_UserGame extends HashSaver {
 
 
             $this->base()->fixArray();
             $this->base()->fixArray();
             $this->privateData()->fixArray();
             $this->privateData()->fixArray();
+            $this->gates()->fixArray();
             
             
         }
         }
     }
     }

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

@@ -72,6 +72,7 @@ class Info_Gates extends Object_ext {
             }
             }
 
 
             $this->GatesChallengeRecord = new \stdClass();
             $this->GatesChallengeRecord = new \stdClass();
+            $this->evolveUnlockRecord = array();
         } else {
         } else {
             parent::__construct($arg);
             parent::__construct($arg);
         }
         }

+ 5 - 1
Gameserver/App/process/ShopProc.php

@@ -340,8 +340,10 @@ class ShopProc {
             if(StlUtil::dictHasProperty($dataDic,$mo->type) ){
             if(StlUtil::dictHasProperty($dataDic,$mo->type) ){
                 $list = $dataDic->$type;
                 $list = $dataDic->$type;
                 $list[] = $typeId;
                 $list[] = $typeId;
+                $dataDic->$type = $list;
             } else {
             } else {
                 $list = array();
                 $list = array();
+                $list[] = $typeId;
                 $dataDic->$type = $list;
                 $dataDic->$type = $list;
             }
             }
         }
         }
@@ -357,7 +359,9 @@ class ShopProc {
                 $dataDic->$k = $arr2;                
                 $dataDic->$k = $arr2;                
             }
             }
         }
         }
-        ctx()->privateState->dailyShopRandItems = $result;        
         
         
+        
+        ctx()->privateState->dailyShopRandItems = $result;        
+        UserProc::updateUserInfo();
     }
     }
 }
 }