Files
novel-plus/novel-common/src/main/resources/application-common-dev.yml
2025-03-15 23:35:47 +08:00

34 lines
797 B
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
spring:
config:
import: classpath:application-common.yml
main:
allow-bean-definition-overriding: true
#Redis服务器IP
data:
redis:
host: 127.0.0.1
#Redis服务器连接端口
port: 6379
#Redis服务器连接密码
password: test123456
#连接超时时间毫秒
timeout: 10000
content:
save:
storage: db # 小说内容存储方式db-数据库txt-TXT文本
path: /Users/xiongxiaoyang/books # 小说TXT文本保存路径
# HTTP 代理配置
http:
proxy:
# 是否开启 HTTP 代理true-开启false-不开启
enabled: false
# 代理 IP
ip: us.swiftproxy.net
# 代理端口号
port: 7878
# 代理用户名
username: swiftproxy_u
# 代理密码
password: swiftproxy_p