liuxiaolong
2020-08-17 bae4af47f77a195a12a0437584d667465e826e12
service/msgPush.go
@@ -278,7 +278,6 @@
         }
      }
   }
   fmt.Println("len(carPersonM):", len(carPersonM), "len(pushUserM):", len(pushUserM))
   var uc models.UserClient
   for _,personId := range carPersonM {
      if phoneNum,ok := pushUserM[personId]; ok { //此人已注册到系统,并且车不在停车库内
@@ -292,8 +291,6 @@
   lenAS := len(aliasArr)
   if  lenAS == 0 {
      return true, errors.New("aliasArr is empty")
   } else {
      fmt.Println("PushByAlias arr:", aliasArr)
   }
   cResult, taskId, ce := createPushMsg(title, msg)