test cron

This commit is contained in:
wangchuxiao 2022-12-28 10:55:00 +08:00
parent 0e62deed0a
commit 2608ae58df

View File

@ -24,8 +24,8 @@ var (
) )
func GenUserChat(startSeq, stopSeq, delSeq, index uint32, userID string) *db.UserChat { func GenUserChat(startSeq, stopSeq, delSeq, index uint32, userID string) *db.UserChat {
chat := &db.UserChat{UID: userID + strconv.Itoa(int(index))} chat := &db.UserChat{UID: userID + ":" + strconv.Itoa(int(index))}
for i := startSeq; i < stopSeq; i++ { for i := startSeq; i <= stopSeq; i++ {
msg := server_api_params.MsgData{ msg := server_api_params.MsgData{
SendID: "sendID1", SendID: "sendID1",
RecvID: "recvID1", RecvID: "recvID1",