From 927c1392b7e6f6e8ebc366d061d1ca3036a1fd21 Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期一, 16 八月 2021 18:34:20 +0800 Subject: [PATCH] 实有人口导入bug修改 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/TokenConstant.java | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/TokenConstant.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/TokenConstant.java new file mode 100644 index 0000000..8dcc6d6 --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/TokenConstant.java @@ -0,0 +1,25 @@ +package com.panzhihua.common.constants; + +/** + * @program: springcloud_k8s_panzhihuazhihuishequ + * @description: token + * @author: huang.hongfa weixin hhf9596 qq 959656820 + * @create: 2020-11-24 14:44 + **/ +public class TokenConstant { + + public static final String TOKEN_HEADER="Authorization"; + public static final String TOKEN_LOGOUT="token_logout"; + public static final String TOKEN_PRE="Bearer "; + public static final String TOKEN_USERINFO="token_userinfo"; + /** + * 30分钟 + */ + public static final int EXPIRETIME=300; + public static final Long EXPIRETIME_LONG = 300L; + public static final String SECRET="UTivpbn%n9O!KnnL"; + /** + * 24小时 + */ + public static final int EXPIRETIME_REFRESH=24; +} -- Gitblit v1.7.1