add JRZQ09J8、FLXGDEA8、FLXGDEA9、JRZQ1D09
add external_services log
This commit is contained in:
@@ -15,19 +15,6 @@ database:
|
||||
name: "tyapi_dev"
|
||||
|
||||
# ===========================================
|
||||
# 📝 日志配置
|
||||
# ===========================================
|
||||
logger:
|
||||
level: info
|
||||
format: json
|
||||
output: "console"
|
||||
log_dir: "logs"
|
||||
max_size: 100
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
use_daily: true
|
||||
# ===========================================
|
||||
# 🔐 JWT配置
|
||||
# ===========================================
|
||||
jwt:
|
||||
@@ -113,3 +100,9 @@ wallet:
|
||||
tianyancha:
|
||||
base_url: http://open.api.tianyancha.com/services
|
||||
api_key: e6a43dc9-786e-4a16-bb12-392b8201d8e2
|
||||
# 智查金控配置示例
|
||||
zhicha:
|
||||
url: "http://proxy.tianyuanapi.com/dataMiddle/api/handle"
|
||||
app_id: "4b78fff61ab8426f"
|
||||
app_secret: "1128f01b94124ae899c2e9f2b1f37681"
|
||||
encrypt_key: "af4ca0098e6a202a5c08c413ebd9fd62"
|
||||
@@ -34,63 +34,7 @@ redis:
|
||||
port: "6379"
|
||||
password: ""
|
||||
db: 0
|
||||
# ===========================================
|
||||
# 📝 日志配置
|
||||
# ===========================================
|
||||
logger:
|
||||
level: info
|
||||
format: json
|
||||
output: "file"
|
||||
log_dir: "/app/logs"
|
||||
max_size: 100
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
use_daily: true
|
||||
# 启用按级别分文件
|
||||
enable_level_separation: true
|
||||
# 各级别日志文件配置
|
||||
level_configs:
|
||||
debug:
|
||||
max_size: 50 # 50MB
|
||||
max_backups: 3
|
||||
max_age: 7 # 7天
|
||||
compress: true
|
||||
info:
|
||||
max_size: 100 # 100MB
|
||||
max_backups: 5
|
||||
max_age: 30 # 30天
|
||||
compress: true
|
||||
warn:
|
||||
max_size: 100 # 100MB
|
||||
max_backups: 5
|
||||
max_age: 30 # 30天
|
||||
compress: true
|
||||
error:
|
||||
max_size: 200 # 200MB
|
||||
max_backups: 10
|
||||
max_age: 90 # 90天
|
||||
compress: true
|
||||
fatal:
|
||||
max_size: 100 # 100MB
|
||||
max_backups: 10
|
||||
max_age: 365 # 1年
|
||||
compress: true
|
||||
panic:
|
||||
max_size: 100 # 100MB
|
||||
max_backups: 10
|
||||
max_age: 365 # 1年
|
||||
compress: true
|
||||
# 生产环境全面日志配置
|
||||
comprehensive_logging:
|
||||
enable_request_logging: true
|
||||
enable_response_logging: true
|
||||
enable_request_body_logging: false # 生产环境不记录请求体(安全考虑)
|
||||
enable_error_logging: true
|
||||
enable_business_logging: true
|
||||
enable_performance_logging: true
|
||||
max_body_size: 10240 # 10KB
|
||||
exclude_paths: ["/health", "/metrics", "/favicon.ico", "/swagger"]
|
||||
|
||||
# ===========================================
|
||||
# 🔐 JWT配置
|
||||
# ===========================================
|
||||
@@ -139,14 +83,6 @@ esign:
|
||||
client_type: "ALL"
|
||||
redirect_url: "https://console.tianyuanapi.com/certification/callback/sign"
|
||||
# ===========================================
|
||||
# 🌍 西部数据配置
|
||||
# ===========================================
|
||||
westdex:
|
||||
url: "http://proxy.tianyuanapi.com/api/invoke"
|
||||
key: "121a1e41fc1690dd6b90afbcacd80cf4"
|
||||
secret_id: "449159"
|
||||
secret_second_id: "296804"
|
||||
# ===========================================
|
||||
# 💰 支付宝支付配置
|
||||
# ===========================================
|
||||
alipay:
|
||||
|
||||
Reference in New Issue
Block a user