1
This commit is contained in:
@@ -2,7 +2,6 @@ package controllers
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/im"
|
||||
"github.com/astaxie/beego/server/web"
|
||||
)
|
||||
@@ -16,13 +15,9 @@ type IMController struct {
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /StartWebSocket [get]
|
||||
//func (c *IMController) StartWebSocket() {
|
||||
// var (
|
||||
// w http.ResponseWriter
|
||||
// r *http.Request
|
||||
// )
|
||||
// im.StartWebSocket(w, r)
|
||||
//}
|
||||
func (c *IMController) StartWebSocket() {
|
||||
im.StartWebSocket(c.Ctx.ResponseWriter, c.Ctx.Request)
|
||||
}
|
||||
|
||||
// @Title IM获取门店用户聊天列表
|
||||
// @Description IM获取门店用户聊天列表
|
||||
|
||||
Reference in New Issue
Block a user