Commit d10c7a35 by feitianbubu

fix: playground chat vip group

parent 50a2c2c5
...@@ -122,6 +122,7 @@ func authHelper(c *gin.Context, minRole int) { ...@@ -122,6 +122,7 @@ func authHelper(c *gin.Context, minRole int) {
c.Set("role", role) c.Set("role", role)
c.Set("id", id) c.Set("id", id)
c.Set("group", session.Get("group")) c.Set("group", session.Get("group"))
c.Set("user_group", session.Get("group"))
c.Set("use_access_token", useAccessToken) c.Set("use_access_token", useAccessToken)
//userCache, err := model.GetUserCache(id.(int)) //userCache, err := model.GetUserCache(id.(int))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment