Browse Source

fixed: 邮件领取,同步玩家等级.

gwang 4 years ago
parent
commit
c2faf661b9
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Gameserver/Amfphp/process/EmailProc.php

+ 4 - 3
Gameserver/Amfphp/process/EmailProc.php

@@ -159,11 +159,12 @@ class EmailProc {
         UserProc::updateUserInfo();
         UserProc::updateUserInfo();
         $base = ctx()->base();
         $base = ctx()->base();
         return Resp::ok(array(#                                                 # 同步数据        
         return Resp::ok(array(#                                                 # 同步数据        
-                    'gold' => $base->gold,
-                    'cash' => $base->cash,
-                    'resPoint' => $base->resPoint,
+//                    'gold' => $base->gold,
+//                    'cash' => $base->cash,
+//                    'resPoint' => $base->resPoint,
                     'store' => ctx()->store,
                     'store' => ctx()->store,
                     'hero' => ctx()->heros,
                     'hero' => ctx()->heros,
+                    'baseInfo' => ctx()->base(),
                     'num' => 1,
                     'num' => 1,
                     'reward' => $mail->appendix
                     'reward' => $mail->appendix
         ));
         ));