소스 검색

fix:推送修改

duxin 1 년 전
부모
커밋
a062a35fc1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rpc/internal/common/sendMsg.go

+ 1 - 1
rpc/internal/common/sendMsg.go

@@ -29,7 +29,7 @@ func FindUserMsg(this message.FindUserMsgReq, isClean bool) message.FindUserMsgR
 		"isdel":          1,
 		"appid":          this.Appid,
 	}
-	if this.MsgType != -1 {
+	if this.MsgType > 0 {
 		cquery["group_id"] = this.MsgType
 	}
 	if this.Read != -1 {