瀏覽代碼

pc token 有效期改为7天

xucaiqin 1 天之前
父節點
當前提交
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有效时间