修复代理访问跨域问题,和ScheduledFuture取消任务时指令重排异常,不结束正在运行的任务。防止 Command interrupted
This commit is contained in:
@@ -35,7 +35,7 @@ public class JwtUtils {
|
||||
/**
|
||||
* token过期时间(分钟)
|
||||
*/
|
||||
public static final long expirationTime = 30;
|
||||
public static final long expirationTime = 30 * 24 * 60;
|
||||
|
||||
public static String createToken(String username, String password, Integer roleId) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user