zhangqian
2023-09-02 a16dcef8f200b787fcde115088cb699b167c3023
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
   }
   //写入到文件