mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 20:30:40 +08:00
1
This commit is contained in:
parent
20aea0c335
commit
631c7202b4
@ -102,9 +102,11 @@ func main() {
|
||||
userID, err := token_verify.ParseUserIDFromToken(c.GetHeader("token"), c.MustGet("operationID").(string))
|
||||
if err != nil {
|
||||
c.String(400, err.Error())
|
||||
c.Abort()
|
||||
return
|
||||
}
|
||||
c.Set("opUserID", userID)
|
||||
c.Next()
|
||||
})
|
||||
{
|
||||
groupRouterGroup.POST("/create_group", group.NewCreateGroup) //1
|
||||
|
Loading…
x
Reference in New Issue
Block a user