Explorar o código

fixed: 金币同步代码

gwang %!s(int64=4) %!d(string=hai) anos
pai
achega
5b6267b613
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Gameserver/Amfphp/process/FightProc/SweepGatesProc.php

+ 1 - 1
Gameserver/Amfphp/process/FightProc/SweepGatesProc.php

@@ -125,7 +125,7 @@ class SweepGatesProc {
 //        var_dump($userGates);
         UserProc::updateUserInfo();
         return Resp::ok(array("store" => $req->userInfo->game->store,
-                    'gold' => $gold,
+                    'gold' => req()->userInfo->game->baseInfo->gold,
                     'cash' => req()->userInfo->game->baseInfo->cash
         ));         # 返回值  
     }