feat: able to resend message now

This commit is contained in:
JustSong
2023-04-16 17:13:59 +08:00
parent fe7d726dee
commit 998e974e95
4 changed files with 87 additions and 39 deletions
-1
View File
@@ -69,7 +69,6 @@ func DeleteAllMessages() error {
}
func (message *Message) UpdateAndInsert(userId int) error {
message.Link = common.GetUUID()
message.Timestamp = time.Now().Unix()
message.UserId = userId
message.Status = common.MessageSendStatusPending