17 lines
433 B
Java
17 lines
433 B
Java
package com.ruoyi.cai.config;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Data
|
|
@Component
|
|
@ConfigurationProperties(prefix = "cai")
|
|
public class CaiProperties {
|
|
|
|
private String homeName = "恋香";
|
|
private String coinName = "黄钻";
|
|
private boolean enableApiEncryption = true;
|
|
private boolean websocket = true;
|
|
}
|