Kaynağa Gözat

token过期时间

ytf 3 yıl önce
ebeveyn
işleme
c3c5cd5c62

+ 2 - 2
b2b2c/b2b2c-core/src/main/java/com/slodon/b2b2c/core/constant/ExpireTimeConst.java

@@ -8,13 +8,13 @@ public class ExpireTimeConst {
8 8
     /**
9 9
      * int类型,单位秒
10 10
      */
11
-    public static final int EXPIRE_SECOND_1_HOUR = 60 * 60;
11
+    public static final int EXPIRE_SECOND_1_HOUR = 60 * 60 * 24;
12 12
     public static final int EXPIRE_SECOND_15_DAY = 15 * 24 * 60 * 60;
13 13
 
14 14
     /**
15 15
      * token过期时间1天
16 16
      */
17
-    public static final long TOKEN_EXPIRE_TIME = 1000 * 60 * 60 *24;
17
+    public static final long TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24;
18 18
     /**
19 19
      * refresh_token过期时间15天
20 20
      */