mirror of
https://github.com/RemainderTime/spring-boot-base-demo.git
synced 2026-02-22 22:21:05 +08:00
优化
This commit is contained in:
@@ -23,7 +23,7 @@ import java.util.Map;
|
||||
@Slf4j
|
||||
public class JwtTokenUtils {
|
||||
|
||||
private static String tokenSecret;
|
||||
private static String tokenSecret = "remaindertime";
|
||||
private static int tokenExpire;
|
||||
|
||||
public JwtTokenUtils(String tokenSecret, int tokenExpire) {
|
||||
|
||||
@@ -13,7 +13,7 @@ import java.util.Date;
|
||||
* @create: 2022-07-04 14:39
|
||||
**/
|
||||
@Data
|
||||
@TableName(value = "xf-user")
|
||||
@TableName(value = "xf_user")
|
||||
public class User {
|
||||
|
||||
private Integer id;
|
||||
|
||||
Reference in New Issue
Block a user