This commit is contained in:
2025-07-20 20:53:26 +08:00
parent 83bf9aea7d
commit 8ad1d7288e
158 changed files with 18156 additions and 13188 deletions

View File

@@ -34,3 +34,28 @@ storage:
ocr:
api_key: "aMsrBNGUJxgcgqdm3SEdcumm"
secret_key: "sWlv2h2AWA3aAt5bjXCkE6WeA5AzpAAD"
# ===========================================
# 📝 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"

View File

@@ -18,7 +18,7 @@ server:
# ===========================================
# 敏感信息通过外部环境变量注入
database:
sslmode: require
password: Pg9mX4kL8nW2rT5y
# ===========================================
# 📝 日志配置
@@ -30,3 +30,50 @@ logger:
# 🔐 JWT配置
# ===========================================
# JWT_SECRET 必须通过外部环境变量注入
# ===========================================
# 🔐 JWT配置
# ===========================================
jwt:
secret: JwT8xR4mN9vP2sL7kH3oB6yC1zA5uF0qE9tW
# ===========================================
# 📁 存储服务配置 - 七牛云
# ===========================================
storage:
access_key: "AO6u6sDWi6L9TsPfr4awC7FYP85JTjt3bodZACCM"
secret_key: "2fjxweGtSAEaUdVgDkWEmN7JbBxHBQDv1cLORb9_"
bucket: "tianyuanapi"
domain: "https://file.tianyuanapi.com"
# ===========================================
# 🔍 OCR服务配置 - 百度智能云
# ===========================================
ocr:
api_key: "aMsrBNGUJxgcgqdm3SEdcumm"
secret_key: "sWlv2h2AWA3aAt5bjXCkE6WeA5AzpAAD"
# ===========================================
# 📝 e签宝服务配置
# ===========================================
esign:
app_id: "your_app_id_here"
app_secret: "your_app_secret_here"
server_url: "https://smlt.esign.cn"
template_id: "your_template_id_here"
contract:
name: "企业认证服务协议"
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"