推送消息

pull/23/head
taoshihan1991 5 years ago
parent 70a7197285
commit 37eaf128cf

@ -221,6 +221,7 @@ func SendMessageV2(c *gin.Context) {
str, _ := json.Marshal(msg) str, _ := json.Marshal(msg)
ws.OneKefuMessage(kefuInfo.Name, str) ws.OneKefuMessage(kefuInfo.Name, str)
go ws.SendServerJiang(vistorInfo.Name+"说", content, c.Request.Host) go ws.SendServerJiang(vistorInfo.Name+"说", content, c.Request.Host)
go SendAppGetuiPush(kefuInfo.Name, vistorInfo.Name, content)
} }
c.JSON(200, gin.H{ c.JSON(200, gin.H{
"code": 200, "code": 200,

Loading…
Cancel
Save