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