소스 검색

战令充值代码补充完成

cyzhao 7 달 전
부모
커밋
05676a42d6

+ 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-10-16 16:43:27
+ // 日期: 2024-10-17 11:32:17
 ////////////////////
 
 /**

+ 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-07-31 16:05:48
+ // 日期: 2024-10-17 11:18:57
 ////////////////////
 
 

+ 0 - 15
Gameserver/App/model/Const/sm_globalsettings.php

@@ -318,20 +318,5 @@ class sm_globalsettings
     */
     public $MailData_RemainSeconds;
 
-    /**
-    * @var Int32 关卡高级战令购买金额  
-    */
-    public $activity_battlepass_gate_buyCost;
-
-    /**
-    * @var Int32 活跃点高级战令购买金额  
-    */
-    public $activity_battlepass_activePoint_buyCost;
-
-    /**
-    * @var Int32 体力战令高级购买  
-    */
-    public $activity_battlepass_tili_buyCost;
-
 }
 

+ 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-09-29 16:16:50
+ // 日期: 2024-10-17 10:02:15
 ////////////////////
 
 

+ 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-10-09 17:59:19
+ // 日期: 2024-10-17 11:15:50
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-24 17:01:17
+ // 日期: 2024-10-17 11:18:43
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-16 15:12:53
+ // 日期: 2024-10-16 18:05:52
 ////////////////////
 
 

+ 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-10-16 16:43:45
+ // 日期: 2024-10-16 16:53:58
 ////////////////////
 
 

+ 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-10-16 16:43:45
+ // 日期: 2024-10-16 16:53:58
 ////////////////////
 
 

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

@@ -410,6 +410,15 @@ class PayProc {
                     my_Assert(null != $monthCardMo, ErrCode::err_const_no);
                     ShopProc::BuyShop_MonthCard(EnumShopGift::MonthCard_Shop, $shopItem->shopItemTypeId, $order->product_count);
                     break;
+                case 'battlePass_gate':
+                    ctx()->privateData(true)->battlePass_gate_cost_ts = now();
+                    break;
+                case 'battlePass_activePoint':
+                    ctx()->privateData(true)->battlePass_activePoint_cost_ts = now();
+                    break;
+                case 'battlePass_tili':
+                    ctx()->privateData(true)->battlePass_tili_cost_ts = now();
+                    break;
                 case 'box':
                 case 'daily':
                 case 'gategift':