fix bug: send all not send msg 2 all user

pull/722/head
wangchuxiao 2 years ago
parent a73d8fe4f6
commit 75c028aa9b

@ -262,8 +262,8 @@ func (m *MessageApi) BatchSendMsg(c *gin.Context) {
apiresp.GinError(c, err)
return
}
if len(recvIDsPart) < showNumber {
recvIDs = append(recvIDs, recvIDsPart...)
if len(recvIDsPart) < showNumber {
break
}
pageNumber++

Loading…
Cancel
Save