This commit is contained in:
richboo111
2023-04-25 10:39:28 +08:00
57 changed files with 1242 additions and 260 deletions

View File

@@ -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获取门店用户聊天列表