f
This commit is contained in:
43
config.yaml
43
config.yaml
@@ -530,3 +530,46 @@ jiguang:
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
|
||||
# ===========================================
|
||||
# ✨ 数脉配置走实时接口
|
||||
# ===========================================
|
||||
shumai:
|
||||
url: "https://api.shumaidata.com"
|
||||
app_id: "pIfqx8MsoTOjhbB762qi5BfkjJ4D7w0O"
|
||||
app_secret: "BnJWo61hUgNEa5fqBCueiT1IZ1e0DxPU"
|
||||
# ===========================================
|
||||
# ✨ 数脉子账号配置走政务
|
||||
# ===========================================
|
||||
# 走政务接口使用这个
|
||||
app_id2: "AwZZRzWkArtFDO2lDcT2jHfuoo9n35Tq"
|
||||
app_secret2: "nCXN6fKLImjfvzI12hj8O1CMl1gJeaWh"
|
||||
|
||||
sign_method: "md5" # 签名方法:md5 或 hmac,默认 hmac
|
||||
timeout: 60s # 请求超时时间,默认 60 秒
|
||||
|
||||
# 数脉日志配置
|
||||
logging:
|
||||
enabled: true
|
||||
log_dir: "logs/external_services"
|
||||
service_name: "shumai"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user