style(server): 统一 ShortNovel 配置类和 DTO 的字段注释风格
This commit is contained in:
@@ -15,15 +15,23 @@ import org.springframework.context.annotation.Configuration;
|
||||
@ConfigurationProperties(prefix = "short-novel")
|
||||
public class ShortNovelConfig {
|
||||
|
||||
/** 外部服务基础 URL */
|
||||
/**
|
||||
* 外部服务基础 URL
|
||||
*/
|
||||
private String apiBaseUrl;
|
||||
|
||||
/** 外部服务 API Token */
|
||||
/**
|
||||
* 外部服务 API Token
|
||||
*/
|
||||
private String apiToken;
|
||||
|
||||
/** 连接超时(毫秒) */
|
||||
/**
|
||||
* 连接超时(毫秒)
|
||||
*/
|
||||
private Integer connectTimeout = 10000;
|
||||
|
||||
/** 读取超时(毫秒) */
|
||||
/**
|
||||
* 读取超时(毫秒)
|
||||
*/
|
||||
private Integer readTimeout = 300000;
|
||||
}
|
||||
Reference in New Issue
Block a user