소스 검색

fixed: 兑换码,没有实时刷新.

gwang 3 년 전
부모
커밋
689ab552ea
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Gameserver/Amfphp/process/ActiveProc.php

+ 1 - 0
Gameserver/Amfphp/process/ActiveProc.php

@@ -665,6 +665,7 @@ class ActiveProc {
         $ok = self::setActiveCodeUserRecord($activeCode, req()->uid);            # 插入数据库
         my_Assert($ok, ErrCode::err_db);                                        # 数据库操作失败- 重试
         UserProc::updateUserInfo();                                             # 回存玩家数据
+        $user = new Data_UserGame(req()->userInfo->game);                       # 重新取一下玩家数据.
         $ret = array(#                                                          # 返回值
             "plat" => $codePlatStr,
             "packageId" => $activeCode->package,