Przeglądaj źródła

武器接口补store

cyzhao 3 lat temu
rodzic
commit
dfd13a6c9a
1 zmienionych plików z 6 dodań i 2 usunięć
  1. 6 2
      Gameserver/Amfphp/process/StoreProc.php

+ 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变化                 
+        ));
     }
 
     /*