nsq/msg_handler.go
@@ -102,7 +102,7 @@ logx.Errorf("ScheduleTask HandleMessage Unmarshal json err: %v", err.Error()) return nil } if len(resp.KeyData) == 0 || len(resp.AddressData) == 0 { if len(resp.KeyData) == 0 || len(resp.AddressData) == 0 || resp.DeviceId != conf.Conf.System.DeviceId { return nil } //写入到文件