diff --git a/handler/im.go b/handler/im.go index 4bdfa66..e0cb13f 100644 --- a/handler/im.go +++ b/handler/im.go @@ -398,6 +398,7 @@ func ServerSsendMsgV2(c *gin.Context) { break } } + worker.SetRedisWithExpire("user_"+strconv.Itoa(user_id)+"_status_v2", "1", time.Second*60) time.Sleep(time.Second * 1) } }