소스 검색

激活码bug修复

cyzhao 11 달 전
부모
커밋
3837e7b65d

+ 1 - 1
Gameserver/App/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-25 11:02:01
+ // 日期: 2024-06-27 09:43:36
 ////////////////////
 
 /**

+ 1 - 1
Gameserver/App/model/Const/sm_gem.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-14 11:11:02
+ // 日期: 2024-06-26 17:05:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-25 10:35:46
+ // 日期: 2024-06-25 11:05:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_hero.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-24 18:05:46
+ // 日期: 2024-06-26 17:05:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_heroType_typeId.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-24 18:05:46
+ // 日期: 2024-06-26 17:05:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_item.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-20 11:33:01
+ // 日期: 2024-06-26 16:09:57
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_plots.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-07 18:24:32
+ // 日期: 2024-06-26 17:05:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_predicate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-24 11:43:04
+ // 日期: 2024-06-26 16:14:27
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_waveItem.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-25 10:49:10
+ // 日期: 2024-06-27 09:37:09
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_waves.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-25 10:49:10
+ // 日期: 2024-06-27 09:37:09
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/process/ActiveProc.php

@@ -45,7 +45,7 @@ class ActiveProc {
             my_Assert($packageInfo->expirets >= now() && $packageInfo->startTs <= now(),
                     ErrCode::active_activecode_outtime);
             my_Assert(!in_array($codestring, ctx()->privateState->usedTokens), ErrCode::active_hasgetted); # 已经领取过该礼包了
-            $packageID = $codestring;
+            $packageID = $packageInfo->id;
             $err = StoreProc::AddMultiItemInStore($packageInfo->reward);            # 发放礼包
             EmailProc::SendPackageByCodeMail(req()->zoneid, req()->uid, $packageInfo->reward);           
             my_Assert(ErrCode::ok == $err, $err);

+ 1 - 1
Gameserver/App/process/FightProc.php

@@ -651,7 +651,7 @@ class FightProc {
         if ($type == 1) {
             $score = gMem()->zscore(MemKey_GameRun::Rank_MainGateIndex_Zone_zset(req()->zoneid), $uid_rank);           
         } else {
-            $score = gMem()->zscore(MemKey_GameRun::Rank_MainGateIndex_Zone_zset(req()->zoneid), $uid_rank);          
+            $score = gMem()->zscore(MemKey_GameRun::Rank_FightPower_Zone_zset(req()->zoneid), $uid_rank);          
         }
         
         if($score == null){