hxp
2024-01-15 34e1fe758ce0499e63cd232eb9f77fd67bfe80c4
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossActionControl.py
@@ -275,6 +275,11 @@
                endDateStr = curDateStr
                GameWorld.Log("        结束日期为空,默认每天,今日为: endDateStr=%s" % endDateStr)
                
            actByWeek = (startDateStr.startswith("W") and endDateStr.startswith("W")) # 按周x开
            if actByWeek:
                startDateStr, endDateStr = GameWorld.GetOperationActionDateStr(ipyData)
                GameWorld.Log("        星期X转化为日期: %s ~ %s" % (startDateStr, endDateStr))
            if hasattr(ipyData, "GetStartTimeList") and hasattr(ipyData, "GetEndTimeList"):
                startHMStrList = ipyData.GetStartTimeList()
                endHMStrList = ipyData.GetEndTimeList()