瀏覽代碼

武器接口补store

cyzhao 3 年之前
父節點
當前提交
dfd13a6c9a
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      Gameserver/Amfphp/process/StoreProc.php

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

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