This commit is contained in:
wangchuxiao 2023-05-09 18:04:02 +08:00
parent f82b15e12b
commit 1ef3f527f3

View File

@ -67,9 +67,10 @@ func NewGinRouter(zk discoveryregistry.SvcDiscoveryRegistry, rdb redis.Universal
friendRouterGroup.POST("/import_friend", f.ImportFriends) //1
friendRouterGroup.POST("/is_friend", f.IsFriend) //1
}
g := NewGroup(zk)
groupRouterGroup := r.Group("/group")
{
g := NewGroup(zk)
groupRouterGroup.Use(mw.GinParseToken(rdb))
groupRouterGroup.POST("/create_group", g.NewCreateGroup) //1
groupRouterGroup.POST("/set_group_info", g.NewSetGroupInfo) //1