Ver código fonte

pc token 有效期改为7天

xucaiqin 5 horas atrás
pai
commit
8cc89cc117

+ 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有效时间