|
|
@@ -1132,11 +1132,13 @@ func (s *LogicalLog) CheckDeviceId(request request.AddLogRequest) {
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if gameAccount.ScriptDeviceId != request.ScriptDeviceId || device.ErrStatus == 3 || gameAccount.DeviceHex == "" {
|
|
|
+ if gameAccount.ScriptDeviceId != request.ScriptDeviceId {
|
|
|
s.AddScriptDeviceErr(request.GameId, request.Account, gameAccount.ScriptDeviceId, request.ScriptDeviceId, gameAccount.Account, gameAccount.GameId, 1, request.PcCode, request.Operator)
|
|
|
//ct := fmt.Sprintf("<font color=\"warning\">%s:%d, 设备id出现不同</font>", request.PcCode, request.GameId)
|
|
|
//s.SendDeviceMsg(ct, request.Operator)
|
|
|
gameAccount.ScriptDeviceId = request.ScriptDeviceId
|
|
|
+ }
|
|
|
+ if device.ErrStatus == 3 || gameAccount.DeviceHex == "" {
|
|
|
if gameAccount.DeviceHex != device.DeviceHex {
|
|
|
gameAccount.DeviceId = device.DeviceId
|
|
|
gameAccount.DeviceImei = device.DeviceImei
|