Files
tyapi-server/configs/env.development.yaml

62 lines
1.8 KiB
YAML
Raw Normal View History

2025-07-02 16:17:59 +08:00
# 🔧 开发环境配置
# 只包含与默认配置不同的配置项
# ===========================================
# 🌍 环境标识
# ===========================================
app:
env: development
# ===========================================
# 🗄️ 数据库配置
# ===========================================
database:
password: Pg9mX4kL8nW2rT5y
# ===========================================
# 🔐 JWT配置
# ===========================================
jwt:
secret: JwT8xR4mN9vP2sL7kH3oB6yC1zA5uF0qE9tW
2025-07-13 16:36:20 +08:00
# ===========================================
# 📁 存储服务配置 - 七牛云
# ===========================================
storage:
access_key: "AO6u6sDWi6L9TsPfr4awC7FYP85JTjt3bodZACCM"
secret_key: "2fjxweGtSAEaUdVgDkWEmN7JbBxHBQDv1cLORb9_"
bucket: "tianyuanapi"
domain: "https://file.tianyuanapi.com"
# ===========================================
# 🔍 OCR服务配置 - 百度智能云
# ===========================================
ocr:
api_key: "aMsrBNGUJxgcgqdm3SEdcumm"
secret_key: "sWlv2h2AWA3aAt5bjXCkE6WeA5AzpAAD"
2025-07-20 20:53:26 +08:00
# ===========================================
# 📝 e签宝服务配置
# ===========================================
esign:
app_id: "7439073431"
app_secret: "08d1f5ef3c364acb25ea0e9916684ca0"
server_url: "https://smlopenapi.esign.cn"
template_id: "b3d8c665dd344f17bdb19940876e145f"
contract:
name: "天远数据API合作协议"
expire_days: 7
retry_count: 3
auth:
org_auth_modes: ["PSN_MOBILE3"]
default_auth_mode: "PSN_MOBILE3"
psn_auth_modes: ["PSN_MOBILE3", "PSN_IDCARD"]
willingness_auth_modes: ["CODE_SMS"]
sign:
auto_finish: true
sign_field_style: 1
client_type: "ALL"
notify:
types: "1"
redirect_url: "https://www.tianyuanapi.com/certification/complete"