This commit is contained in:
2026-07-24 23:27:17 +08:00
parent b935c557b9
commit cc2513652e
17 changed files with 1600 additions and 7 deletions

View File

@@ -712,6 +712,40 @@ nuoer:
max_backups: 5
max_age: 30
compress: true
# ===========================================
# 🌐 愉悦查 OpenAPI沙箱
# 公司:海南海宇大数据有限公司 | 门户13876051080
# 额度/有效期以门户为准;正式环境请改 base_url 与凭据
# ===========================================
yuyuecha:
base_url: "https://api.yuyuecha.com"
client_id: "prod-haiyu-20260724"
client_secret: "Ddgy_HgAJzU7DaX0V3hcIY20H19BCN1q5vCbFPJ0Pco"
timeout: 30s
logging:
enabled: true
log_dir: "logs/external_services"
service_name: "yuyuecha"
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
# ===========================================
# 🌐 海宇API上游数据源配置
# ===========================================
@@ -741,4 +775,63 @@ haiyuapi:
max_size: 100
max_backups: 5
max_age: 30
compress: true
compress: true
# ===========================================
# 📝 法大大服务配置FASC OpenAPI v5.1
# 应用名称:天远数据 | AppId80005307 | 状态:待上线
# ===========================================
fadada:
app_id: "00004782"
app_secret: "E9GMVOQ9NBSOUDG5VOFM0J1CZPOAP2Y8"
# 待上线/联调用测试环境;正式上线后改为 https://api.fadada.com/api/v5/
server_url: "https://api.fadada.com/api/v5/"
open_corp_id: "7118e66dfd9349d998c0395c5d0742ad" # 海宇数据在法大大侧企业 ID
# 免验证签场景码businessId乙方 requestVerifyFree=true 时必传,平台校验是否已授权
no_auth_scene_code: "c66587b4a048bba3c1cb032eb7750182"
template_id: "1784619066713193840" # 合作协议模板 ID填单/签署freeSignType=template
# 签署模板中的参与方标识actorId必须与模板「签署角色」名称完全一致
party_a_actor_id: "甲方"
party_b_actor_id: "乙方"
# 签署模板内文档 docId填单必填可从模板详情/任务详情 docs[].docId 获取,留空则创建后自动解析
template_doc_id: ""
# 模板控件编码fieldId——与法大大后台控件编码一致
template_fields:
# 协议编号:线上由 GenerateContractCode 生成,格式 HYDATA-{当天YYYYMMDD}-R{6位随机数}R=入驻),已有 contract_code 则复用;下列控件全部填同一编号
agreement_no:
- "0277518263"
- "5199991781"
- "0923405093"
- "6021178427"
- "5137728710"
- "3181735831"
- "2594442367"
- "5884938840"
- "6914410621"
- "6308592720"
- "3347376554"
- "8264194159"
contract_date: "2039326319" # 签订日期(系统填写)
# 甲方企业名:控件不可复用,多处填同一企业名
party_a_name:
- "6920634255"
- "1847502631"
party_a_uscc: "8702060291" # 甲方统一信用代码
party_a_address: "4557539440" # 甲方联系地址
party_a_rep: "8627432823" # 甲方授权代表/法人
# 签署日期为签署控件(非填写控件),由甲/乙方签署时自动写入,勿走填单 API
party_a_sign_date: ""
party_b_sign_date: ""
contract:
name: "海宇数据-合作协议"
expire_days: 7
retry_count: 3
auth:
# 认证完成后顶层跳回企业入驻页(勿用 callback 页留在 iframe 内)
redirect_url: "https://console.haiyudata.com/profile/certification"
sign:
# 甲方签署完成后回跳iframe 内会顶层跳出到入驻页)
redirect_url: "https://console.haiyudata.com/certification/callback/fadada/sign"
callback:
enabled: true