Sfoglia il codice sorgente

fix: 体力同步不全

wanggangzero 8 mesi fa
parent
commit
3d000476d3
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      Gameserver/App/process/PayProc.php

+ 2 - 0
Gameserver/App/process/PayProc.php

@@ -138,6 +138,7 @@ class PayProc {
         return Resp::ok(array('gold' => ctx()->baseInfo->gold,
                     'cash' => ctx()->baseInfo->cash,
                     'tili' => ctx()->baseInfo->tili,
+                    'tili_ts' => ctx()->baseInfo->tili_ts,
                     'store' => ctx()->store,
                     'privateState' => ctx()->privateState,
                     'reward' => StoreProc::$reward,
@@ -1041,6 +1042,7 @@ class PayProc {
         return Resp::ok(array('gold' => ctx()->baseInfo->gold,
                     'cash' => ctx()->baseInfo->cash,
                     'tili' => ctx()->baseInfo->tili,
+                    'tili_ts' => ctx()->baseInfo->tili_ts,
                     'store' => ctx()->store,
                     'privateState' => ctx()->privateState,
                     'reward' => StoreProc::$reward,