wang-hao-jie
2021-10-19 e48043a2df9ca0c73fe18298bab3c4d42ca5c0c7
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 cn.exrick.xboot.core.config.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
/**
 * @author Exrickx
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "xboot.app-token")
public class XbootAppTokenProperties {
 
    /**
     * 单平台登陆
     */
    private Boolean spl = true;
 
    /**
     * token过期时间(天)
     */
    private Integer tokenExpireTime = 30;
}