imrecord userid
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user