Skip to content

Commit

Permalink
完善注释
Browse files Browse the repository at this point in the history
  • Loading branch information
click33 committed Sep 8, 2022
1 parent 80779da commit a2e1743
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ public Boolean getIsReadHead() {

/**
* <h1> 本函数设计已过时,未来版本可能移除此函数,请及时更换为 setIsReadHead() ,使用方式保持不变 </h1>
* @param isReadHeader 是否尝试从header里读取token
* @param isReadHead 是否尝试从header里读取token
* @return 对象自身
*/
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public String createToken(String loginType, Object loginId, String device,
/**
* 为 JWT 对象和 keyt 秘钥,生成 token 字符串
* @param jwt JWT构建对象
* @param keyt 秘钥
* @return 根据 JWT 对象和 keyt 秘钥,生成的 token 字符串
*/
public String generateToken (JWT jwt, String keyt) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public static String createToken(String loginType, Object loginId, String device
/**
* 为 JWT 对象和 keyt 秘钥,生成 token 字符串
* @param jwt JWT构建对象
* @param keyt 秘钥
* @return 根据 JWT 对象和 keyt 秘钥,生成的 token 字符串
*/
public static String generateToken (JWT jwt, String keyt) {
Expand Down

0 comments on commit a2e1743

Please sign in to comment.