From 929779dac48b805872319a330f0809bf1e6deaa1 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 05 七月 2019 14:37:15 +0800
Subject: [PATCH] 7788 【主干】【后端】周卡月卡调整

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py |    2 +-
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py                |   11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 664e0d0..40eb694 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -5105,17 +5105,18 @@
 
 # 投资理财类型
 GoldInvestTypeList = (
-GoldInvestType_Month, # 月卡投资1
+GoldInvestType_Month, # 旧月卡投资1(已废弃)
 GoldInvestType_VIP, # vip投资2
 GoldInvestType_Gold, # 仙玉投资3
 GoldInvestType_Gold2, # 仙玉投资4
 GoldInvestType_Gold3, # 仙玉投资5
-GoldInvestType_Week, # 周卡投资6
-GoldInvestType_NewMonth, # 新月卡投资7
-) = range(1,7+1)
+GoldInvestType_Week, # 周卡投资6(已废弃)
+GoldInvestType_NewMonth, # 至尊月卡投资7
+GoldInvestType_Month1, # 新30元月卡投资8
+) = range(1,8+1)
 
 #可以循环投资的类型
-CanRepeatInvestType = [GoldInvestType_Week, GoldInvestType_Month, GoldInvestType_VIP, GoldInvestType_NewMonth]
+CanRepeatInvestType = [GoldInvestType_Week, GoldInvestType_Month, GoldInvestType_VIP, GoldInvestType_NewMonth, GoldInvestType_Month1]
 #仙玉投资类型
 InvestGoldTypeList = [GoldInvestType_Gold, GoldInvestType_Gold2, GoldInvestType_Gold3]
 
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
index 1b1e4af..34dc045 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
@@ -300,7 +300,7 @@
         PlayerControl.WorldNotify(0, 'JadeInvestmentRadio', [curPlayer.GetName(), investGold])
     elif investType == ChConfig.GoldInvestType_NewMonth:
         PlayerControl.WorldNotify(0, 'MonthInvestment', [curPlayer.GetName()])
-    elif investType == ChConfig.GoldInvestType_Week:
+    elif investType == ChConfig.GoldInvestType_Month1:
         PlayerControl.WorldNotify(0, 'WeekInPInvestment', [curPlayer.GetName()])
         
     # 更新投资时时间,投资金额,重置回报记录

--
Gitblit v1.8.0