mirror of
https://github.com/RemainderTime/spring-boot-base-demo.git
synced 2026-02-24 07:00:46 +08:00
说明文档修订
This commit is contained in:
@@ -60,8 +60,8 @@ public class JwtTokenUtils {
|
||||
// build token
|
||||
// param backups {iss:Service, aud:APP}
|
||||
String token = JWT.create().withHeader(map)
|
||||
.withClaim("iss", "ll-app-business")
|
||||
.withClaim("aud", "APP")
|
||||
.withClaim("iss", "xf-boot-base")
|
||||
.withClaim("aud", "demo")
|
||||
.withClaim(USER_ID, String.valueOf(userId))
|
||||
.withIssuedAt(iatDate)
|
||||
// .withExpiresAt(expiresDate)
|
||||
|
||||
@@ -16,7 +16,7 @@ import java.util.Map;
|
||||
/**
|
||||
* @program: xf-boot-base
|
||||
* @ClassName RSAUtils
|
||||
* @description:
|
||||
* @description: 加密工具类
|
||||
* @author: xiongfeng
|
||||
* @create: 2022-06-20 10:37
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user