mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-09 11:35:59 +08:00
cms
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user