Optimize code

This commit is contained in:
2023-10-23 15:39:54 +08:00
parent 5e21963610
commit f927851cb0
15 changed files with 40 additions and 60 deletions

View File

@@ -62,6 +62,5 @@ object JwtUtil {
* @param jwt jwt 串
* @return 解析内容
*/
fun parseJwt(jwt: String): DecodedJWT =
JWT.require(algorithm()).build().verify(jwt)
fun parseJwt(jwt: String): DecodedJWT = JWT.require(algorithm()).build().verify(jwt)
}