huanghongfa
2020-12-20 def38240262b4403377d4c16beac3ea048f1e658
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 String SECRET="UTivpbn%n9O!KnnL";
    /**
     * 24小时
     */
    public static  final int EXPIRETIME_REFRESH=24;
}