更新处理器
This commit is contained in:
38
config.yaml
38
config.yaml
@@ -222,8 +222,8 @@ daily_ratelimit:
|
||||
|
||||
enable_referer: true # 是否检查Referer
|
||||
allowed_referers: # 允许的Referer
|
||||
- "https://console.haiyudata.com" # 天元API控制台
|
||||
- "https://consoletest.haiyudata.com" # 天元API测试控制台
|
||||
- "https://console.haiyudata.com" # 天远API控制台
|
||||
- "https://consoletest.haiyudata.com" # 天远API测试控制台
|
||||
|
||||
enable_proxy_check: false # 是否检查代理
|
||||
enable_geo_block: false # 是否启用地理位置阻止
|
||||
@@ -621,6 +621,36 @@ shumai:
|
||||
max_age: 30
|
||||
compress: true
|
||||
|
||||
# ===========================================
|
||||
# 天远 API 中转(与对外 API 同协议)
|
||||
# ===========================================
|
||||
tianyuanapi:
|
||||
base_url: "https://api.haiyudata.com"
|
||||
access_id: "请配置中转账号Access-Id"
|
||||
encryption_key: "请配置十六进制加密密钥"
|
||||
timeout: 30s
|
||||
logging:
|
||||
enabled: true
|
||||
log_dir: "logs/external_services"
|
||||
use_daily: true
|
||||
enable_level_separation: true
|
||||
level_configs:
|
||||
info:
|
||||
max_size: 100
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
error:
|
||||
max_size: 200
|
||||
max_backups: 10
|
||||
max_age: 90
|
||||
compress: true
|
||||
warn:
|
||||
max_size: 100
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
|
||||
# ===========================================
|
||||
# ✨ 数据宝配置走实时接口
|
||||
# ===========================================
|
||||
@@ -654,7 +684,6 @@ shujubao:
|
||||
max_age: 30
|
||||
compress: true
|
||||
|
||||
|
||||
# ===========================================
|
||||
# 🌐 诺尔智汇配置
|
||||
# ===========================================
|
||||
@@ -687,7 +716,6 @@ nuoer:
|
||||
max_age: 30
|
||||
compress: true
|
||||
|
||||
|
||||
# ===========================================
|
||||
# ✨ 汇博(BHSC)配置
|
||||
# ===========================================
|
||||
@@ -725,4 +753,4 @@ huibo:
|
||||
max_size: 100
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
compress: true
|
||||
|
||||
Reference in New Issue
Block a user