yinbentan
2024-07-18 ccf9ccce0fefbee8428c98a008c26d8ea26b2af1
middleware/utils.go
@@ -60,6 +60,7 @@
   }
}
// 获取登录用户信息
func GetUserInfo(c *gin.Context) *request.CustomClaims {
   if claims, exists := c.Get("claims"); exists {
      waitUse := claims.(*request.CustomClaims)