aa
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"time"
|
||||
@@ -132,7 +131,6 @@ func (c *EventController) TestWebsocket() {
|
||||
defer ws.Close()
|
||||
//将当前客户端放入map中
|
||||
clients[ws] = true
|
||||
fmt.Println("t11111111111111111111111111111111111111111111111111111111111111111", utils.Format4Output(c.Ctx.Request, false))
|
||||
//聊天记录
|
||||
db := dao.GetDB()
|
||||
_, _, err = jxcontext.New(nil, c.GetString("token"), c.Ctx.ResponseWriter, c.Ctx.Request)
|
||||
|
||||
Reference in New Issue
Block a user