mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-10 03:56:00 +08:00
cms
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
package group
|
||||
|
||||
import (
|
||||
_ "Open_IM_CMS/pkg/req_resp"
|
||||
"Open_IM_CMS/test"
|
||||
"net/http"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func SearchGroups(c *gin.Context) {
|
||||
fake := test.GetSearchGroupsResponseFake()
|
||||
c.JSON(http.StatusOK, gin.H{"code": "0", "data": fake})
|
||||
|
||||
}
|
||||
|
||||
func SearchGroupsMember(c *gin.Context) {
|
||||
fake := test.GetSearchMemberResponseFake()
|
||||
c.JSON(http.StatusOK, gin.H{"code": "0", "data": fake})
|
||||
|
||||
}
|
||||
|
||||
func CreateGroup(c *gin.Context) {
|
||||
|
||||
Reference in New Issue
Block a user