소스 검색

pc token 有效期改为7天

xucaiqin 5 시간 전
부모
커밋
8cc89cc117
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      sckw-common/sckw-common-core/src/main/java/com/sckw/core/model/constant/Global.java

+ 2 - 2
sckw-common/sckw-common-core/src/main/java/com/sckw/core/model/constant/Global.java

@@ -29,10 +29,10 @@ public class Global {
     public static final int APP_TOKEN_EXPIRE = 30 * 24 * 60 * 60;
 
     /**pc token有效期为2小时*/
-    public static final int PC_TOKEN_EXPIRE = 2 * 60 * 60;
+    public static final int PC_TOKEN_EXPIRE = 7 * 24 * 60 * 60;
 
     /**通用有效期为2小时*/
-    public static final int COMMON_EXPIRE = 2 * 60 * 60;
+    public static final int COMMON_EXPIRE = 7 * 24 * 60 * 60;
 
     /**
      * API调用token有效时间