// CheckToken check the Request token
CheckToken check the Request token
// CheckToken check the Request token
func Check(c *gin.Context) (*jwt.RegisteredClaims, bool) {
	if claims, exist := c.Get(config.Jwt.SigningKey); exist {
		if claims, ok := claims.(*jwt.RegisteredClaims); ok {
			return claims, true
		}
	}
	return nil, false
}
func Check ( c * gin . Context ) ( * jwt . RegisteredClaims , bool ) { if claims , exist := c . Get ( config . Jwt . SigningKey ) ; exist { if claims , ok := claims . ( * jwt . RegisteredClaims ) ; ok { return claims , true } } return nil , false }
CheckToken check the Request token
CheckToken check the Request token