(c echo.Context)
| 348 | } |
| 349 | |
| 350 | func GetUserName(c echo.Context) (string, string) { |
| 351 | user := c.Get("user").(*jwt.Token) |
| 352 | claims := user.Claims.(jwt.MapClaims) |
| 353 | return claims["group"].(string), claims["name"].(string) |
| 354 | } |
| 355 | |
| 356 | // @Id ListActionV2 |
| 357 | // @Description list user action. |
no test coverage detected