mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
This commit is contained in:
commit
34370e4cad
@ -33,11 +33,11 @@ func (o *Group) client(ctx context.Context) (group.GroupClient, error) {
|
||||
return group.NewGroupClient(c), nil
|
||||
}
|
||||
|
||||
func (o *Group) NewCreateGroup(c *gin.Context) {
|
||||
func (o *Group) CreateGroup(c *gin.Context) {
|
||||
a2r.Call(group.GroupClient.CreateGroup, o.client, c)
|
||||
}
|
||||
|
||||
func (o *Group) NewSetGroupInfo(c *gin.Context) {
|
||||
func (o *Group) SetGroupInfo(c *gin.Context) {
|
||||
a2r.Call(group.GroupClient.SetGroupInfo, o.client, c)
|
||||
}
|
||||
|
||||
|
@ -72,8 +72,8 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive
|
||||
{
|
||||
|
||||
groupRouterGroup.Use(mw.GinParseToken(rdb))
|
||||
groupRouterGroup.POST("/create_group", g.NewCreateGroup) //1
|
||||
groupRouterGroup.POST("/set_group_info", g.NewSetGroupInfo) //1
|
||||
groupRouterGroup.POST("/create_group", g.CreateGroup) //1
|
||||
groupRouterGroup.POST("/set_group_info", g.SetGroupInfo) //1
|
||||
groupRouterGroup.POST("/join_group", g.JoinGroup) //1
|
||||
groupRouterGroup.POST("/quit_group", g.QuitGroup) //1
|
||||
groupRouterGroup.POST("/group_application_response", g.ApplicationGroupResponse) //1
|
||||
|
Loading…
x
Reference in New Issue
Block a user