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;
|
}
|