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,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) {