貌似程序无法连接到服务器 #920
Unanswered
HaroidBlue
asked this question in
Q&A
Replies: 2 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
以下为配置文件
account: # 账号相关
uin: ######## # QQ账号
password: '###########' # 密码为空时使用扫码登录
encrypt: false # 是否开启密码加密
status: 0 # 在线状态 请参考 https://docs.go-cqhttp.org/guide/config.html#在线状态
relogin: # 重连设置
delay: 3 # 首次重连延迟, 单位秒
interval: 3 # 重连间隔
max-times: 0 # 最大重连次数, 0为无限制
use-sso-address: true
heartbeat:
interval: 5
message:
post-format: string
ignore-invalid-cqcode: false
force-fragment: false
fix-url: false
proxy-rewrite: ''
report-self-message: false
remove-reply-at: false
extra-reply-data: false
output:
log-level: warn
debug: true # 开启调试模式
default-middlewares: &default
access-token: ''
filter: ''
enabled: false # 是否启用限速
frequency: 1 # 令牌回复频率, 单位秒
bucket: 1 # 令牌桶大小
database: # 数据库相关设置
leveldb:
enable: true
servers:
host: 127.0.0.1
port: 5700
timeout: 5
middlewares:
<<: *default # 引用默认中间件
post:
#- url: '' # 地址
secret: '' # 密钥
#- url: 127.0.0.1:5701 # 地址
secret: '' # 密钥
Beta Was this translation helpful? Give feedback.
All reactions