imrecord userid

This commit is contained in:
苏尹岚
2020-11-11 14:30:05 +08:00
parent cbc81f3c74
commit 28fbbe1a45
2 changed files with 0 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
package dao
import (
"fmt"
"strings"
"time"
@@ -247,8 +246,6 @@ func GetUserMessageGroups(db *DaoDB, userID string) (messageGroup []*model.Messa
utils.DefaultTimeValue, userID,
utils.DefaultTimeValue, userID,
}
fmt.Println(sql)
fmt.Println(sqlParams)
err = GetRows(db, &messageGroup, sql, sqlParams)
return messageGroup, err
}

View File

@@ -100,7 +100,6 @@ func (c *EventController) TestWebsocket() {
for _, v := range messageGroups {
clients[v.GroupID] = append(clients[v.GroupID], ws)
}
globals.SugarLogger.Debugf("clients map : %v", utils.Format4Output(clients, false))
db := dao.GetDB()
if globals.IsProductEnv() {
_, _, err = jxcontext.New(nil, c.GetString("token"), c.Ctx.ResponseWriter, c.Ctx.Request)