hch
2019-04-19 519a8605a41e9e4cb72da4d58f55a52c3b83263d
ServerPython/CoreServerGroup/GameServer/Script/EventReport.py
@@ -109,12 +109,19 @@
        RegionName = GameWorld.GetPlayerServerSID(curPlayer)
        
    else:
        # 合服情况,玩家取自己服发送,非玩家数据按指定平台配置发,没有则取配置主服
        RegionName = 's%s'%GameWorld.GetPlayerMainServerID(OperatorID)
        # 合服情况,玩家取自己服发送,非玩家数据按指定平台配置发
        sid = GameWorld.GetPlayerMainServerID(OperatorID)
        if not sid:
            GameWorld.ErrLog("GetPlayerMainServerID: %s-%s"%(OperatorID, sid))
            return
        RegionName = 's%s'%sid
        
    getUrl = "%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s%s&Time=%s&%s"%(\
    if eventParam:
        eventParam = "&%s"%eventParam
    getUrl = "%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s%s&Time=%s&DeviceFlag=%s%s"%(\
             ReportUrl, ProductID, OperatorID, RegionName, eventActionID, playerInfo,
             str(datetime.datetime.today()).split('.')[0], eventParam)
             str(datetime.datetime.today()).split('.')[0], curPlayer.GetDeviceFlag(), eventParam)
    GameWorld.DebugLog("EventReport: %s"%getUrl)
    
    # 第五个参数0代表get发送  1代表post