From 3cc5256ecb6f34d0bfe0e13903f8a87cf5fcce91 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期五, 28 六月 2024 11:15:56 +0800 Subject: [PATCH] 花城 需求清单列表新增显示隐藏字段 新增认领人数字段 新增时间段筛选功能 --- 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..e39e4a9 --- /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