This commit is contained in:
wangchuxiao
2022-01-21 18:39:57 +08:00
parent 1944b24fba
commit d58bcd136a
20 changed files with 696 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
package message
import (
"net/http"
"Open_IM_CMS/test"
"github.com/gin-gonic/gin"
)
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) {
}
func Withdraw(c *gin.Context) {
}