cyzhao 3 жил өмнө
parent
commit
dfd13a6c9a

+ 6 - 2
Gameserver/Amfphp/process/StoreProc.php

@@ -120,7 +120,9 @@ class StoreProc {
 
         UserProc::updateUserInfo();
 
-        return Resp::ok(ctx()->store());
+        return Resp::ok(array(
+                    "store" => ctx()->store(), #                                        
+        ));
     }
 
     /**
@@ -170,7 +172,9 @@ class StoreProc {
         ctx()->store = $store;
 
         UserProc::updateUserInfo();
-        return Resp::ok($store);
+        return Resp::ok(array(
+                    "store" => $store, #                                  # 目前来看只涉及到items变化                 
+        ));
     }
 
     /*