This commit is contained in:
wangchuxiao
2022-01-24 01:40:49 +08:00
parent d58bcd136a
commit 1607853393
21 changed files with 6352 additions and 2696 deletions
+2 -8
View File
@@ -1,10 +1,6 @@
package message
import (
"net/http"
"Open_IM_CMS/test"
"github.com/gin-gonic/gin"
)
@@ -13,13 +9,11 @@ func Broadcast(c *gin.Context) {
}
func SearchMessageByUser(c *gin.Context) {
fake := test.GetSearchUserMsgFake()
c.JSON(http.StatusOK, gin.H{"code": "0", "data": fake})
}
func SearchMessageByGroup(c *gin.Context) {
fake := test.GetSearchGroupMsgFake()
c.JSON(http.StatusOK, gin.H{"code": "0", "data": fake})
}
func MassSendMassage(c *gin.Context) {