技术向导,聚焦 2.0 新增/强化的报告类型与查询项目,并补充前后端分离与独立管理后台信息。
版本亮点
- 报告版图:个人 / 消费金融 / 企业 / 婚姻(新增)四类统一入口。
- 前后端分离:前端 Nuxt/Vue3,后端 Python/Django,API 对接清晰。
- 独立管理后台:查询配置、会员/定价、推广码、授权书、订单/结果可视化管理。
- 支付与授权:微信、支付宝多通道支付;个人/企业授权书 PDF 生成与留存。
- 会员与推广:多等级会员价,代理可自定义客户价;推广码归属订单,便于结算。
- 示例演示:多类型示例报告便于演示/联调(生产需真实查询与有效授权)。
报告类型与查询要素
1) 个人报告
- 提交要素:姓名、证件号、手机号(短信验证码)。
- 核心内容(示例):身份核验、信用评分、风险/司法涉诉、多头借贷、通讯画像、黑灰名单等。
- 授权:个人授权。
- 下载报告格式:PDF
2) 消费金融报告
- 提交要素:姓名、证件号、手机号。
- 核心内容(示例):消费能力等级、通讯行为、信贷需求/负债、风险名单、携号转网、运营商画像等。
- 授权:个人授权。
- 下载报告格式:PDF
3) 企业报告
- 提交要素:企业名称、统一社会信用代码、联系人手机号。
- 核心内容(示例):工商基础、股权高管、司法涉诉/执行、经营风险、关联企业、失信曝光等。
- 授权:企业授权。
- 下载报告格式:PDF
4) 婚姻关系报告(新增)
- 提交要素:姓名、证件号、手机号。
- 核心内容(示例自
marriage.json):婚姻事件(登记/变更日期、事件类型),司法涉诉概览(刑事/执行等),特殊名单,信用分/消费力,车辆、名下企业关联、反诈分,基础性别年龄等。 - 授权:个人授权。
- 下载报告格式:PDF
架构与交付形态
- 前端:Nuxt/Vue3 + Tailwind,表单、支付、授权书、报告展示(桌面表格 + 移动卡片)。
- 后端:Python/Django,订单、支付、查询调度、授权书生成、会员/推广逻辑、示例数据支持。
- 独立管理后台:
- 报告配置:
QueryConfig(类型、售价、产品 ID、排序)。 - 会员/定价:等级底价、服务费阈值/比例配置。
- 推广:推广码生成、客户价设置、归属与结算记录。
- 授权书:编号校验、PDF 生成、文件留存。
- 订单与结果:查询结果查看、状态监控、过期管理。
- 报告配置:
- 部署:前后端分离,可私有化部署;域名、存储、CDN、支付渠道可替换或扩展。
支付与会员/推广
- 支付:微信、支付宝两通道;支付成功自动触发查询。
- 会员分级:多等级底价/服务费阈值,前端可展示会员价与潜在返佣。
- 推广代理:推广码自定义客户价,订单归属可用于后续结算。
API响应数据示例
{
"code": 0,
"message": "查询成功",
"data": {
"order_no": "ORD00000000000000",
"order_type": "query",
"query_type": "marriage",
"payment_method": "alipay",
"amount": "49.90",
"status": "completed",
"payment_time": 1765291789,
"query_time": 1765291793,
"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"error_message": null,
"expires_at": 1766155789,
"expires_at_display": "2025-12-19 22:49:49",
"result_data": {
"query_type": "marriage",
"order_no": "ORD00000000000000",
"query_time": 1765291793,
"api_results": {
"marriage": {
"success": true,
"data": {
"code": "0",
"data": {
"op_date": "2025-04-16",
"op_type": "IB",
"op_type_desc": "离婚"
},
"seqNo": "SEQXXXXXXXXXXXX",
"message": "成功"
},
"api_name": "单人婚姻查询(登记时间版)",
"api_code": "IVYZ81NC"
},
"lawsuit": {
"success": true,
"data": {
"judicial_data": {
"lawsuitStat": {
"administrative": {},
"bankrupt": {},
"cases_tree": {
"criminal": [
{
"c_ah": "(2018)XX01刑初001号",
"case_type": 200,
"n_ajbs": "8121b1740d444af41bd948af67dda894",
"next": {
"c_ah": "(2019)XX01刑终001号",
"case_type": 200,
"n_ajbs": "c3b429732a839deb0f14b3d5cf2349e3",
"next": {
"c_ah": "(2021)XX01执001号",
"case_type": 1000,
"n_ajbs": "2292af520e4752ff06da552964b4bab6",
"stage_type": 5
},
"stage_type": 2
},
"stage_type": 1
}
]
},
"civil": {},
"count": {
"area_stat": "XX省(3)",
"ay_stat": "XX罪(2),刑事(1)",
"count_beigao": 2,
"count_jie_beigao": 2,
"count_jie_other": 0,
"count_jie_total": 3,
"count_jie_yuangao": 1,
"count_other": 0,
"count_total": 3,
"count_wei_beigao": 0,
"count_wei_other": 0,
"count_wei_total": 0,
"count_wei_yuangao": 0,
"count_yuangao": 1,
"jafs_stat": "维持(1),判决(1),执行完毕(1)",
"larq_stat": "2018(1),2019(1),2021(1)",
"money_beigao": 6,
"money_jie_beigao": 6,
"money_jie_other": 0,
"money_jie_total": 6,
"money_jie_yuangao": 0,
"money_other": 0,
"money_total": 6,
"money_wei_beigao": 0,
"money_wei_other": 0,
"money_wei_percent": 0,
"money_wei_total": 0,
"money_wei_yuangao": 0,
"money_yuangao": 0
},
"crc": 953804156,
"criminal": {
"cases": [
{
"c_ah": "(2018)XX01刑初001号",
"c_ah_hx": "(2019)XX01刑终001号:c3b429732a839deb0f14b3d5cf2349e3",
"c_dsrxx": [
{
"c_mc": "张三",
"n_dsrlx": "自然人",
"n_ssdw": "被告人"
}
],
"c_id": "6bcad0966bdfce33bfb3fce31f523e6c",
"c_slfsxx": "2,2019-08-07 09:00:00,XX法院第一审判庭,1;1,2018-12-21 09:00:00,XX法院第一审判庭,1",
"c_ssdy": "XX省",
"d_jarq": "2019-09-30",
"d_larq": "2018-11-02",
"n_ajbs": "8121b1740d444af41bd948af67dda894",
"n_ajjzjd": "已结案",
"n_ajlx": "刑事一审",
"n_bqqpcje_level": 0,
"n_ccxzxje_level": 0,
"n_crc": 1180863701,
"n_dzzm": "XX罪",
"n_dzzm_tree": "XX罪,XX罪,XX罪",
"n_fzje_level": 0,
"n_jaay": "XX罪",
"n_jaay_tree": "XX罪,XX罪,XX罪",
"n_jafs": "判决",
"n_jbfy": "XX县人民法院",
"n_jbfy_cj": "基层法院",
"n_laay": "XX罪",
"n_laay_tree": "XX罪,XX罪,XX罪",
"n_pcjg": "给予刑事处罚",
"n_pcpcje_level": 0,
"n_slcx": "一审",
"n_ssdw": "被告人",
"n_ssdw_ys": "被告人"
},
{
"c_ah": "(2019)XX01刑终001号",
"c_ah_hx": "(2021)XX01执001号:2292af520e4752ff06da552964b4bab6",
"c_ah_ys": "(2018)XX01刑初001号:8121b1740d444af41bd948af67dda894",
"c_dsrxx": [
{
"c_mc": "张三",
"n_dsrlx": "自然人",
"n_ssdw": "上诉人"
}
],
"c_gkws_dsr": "原公诉机关XX省XX县人民检察院。上诉人(原审被告人)张三,男,1990年1月1日出生于XX省XX县,汉族,大专文化,学生,住XX市。因本案于2018年7月1日被刑事拘留,同年8月4日被逮捕。现羁押于XX县看守所。",
"c_gkws_glah": "(2019)XX01刑初001号",
"c_gkws_id": "50b1f87efe4441b98a7dab3d0033f4ba",
"c_gkws_pjjg": "驳回上诉,维持原判。本裁定为终审裁定。",
"c_id": "e2e7d2a9f2046b4d239a0a96bf04be07",
"c_slfsxx": "1,,,2",
"c_ssdy": "XX省",
"d_jarq": "2019-12-06",
"d_larq": "2019-10-16",
"n_ajbs": "c3b429732a839deb0f14b3d5cf2349e3",
"n_ajjzjd": "已结案",
"n_ajlx": "刑事二审",
"n_bqqpcje_level": 0,
"n_ccxzxje_level": 0,
"n_crc": 2392583185,
"n_dzzm": "XX罪",
"n_dzzm_tree": "XX罪,XX罪,XX罪",
"n_fzje_level": 0,
"n_jaay": "XX罪",
"n_jaay_tree": "XX罪,XX罪,XX罪",
"n_jafs": "维持",
"n_jbfy": "XX省XX市中级人民法院",
"n_jbfy_cj": "中级人民法院",
"n_laay": "XX罪",
"n_laay_tree": "XX罪,XX罪,XX罪",
"n_pcjg": "给予刑事处罚",
"n_pcpcje_level": 0,
"n_slcx": "二审",
"n_ssdw": "上诉人"
}
],
"count": {
"area_stat": "XX省(2)",
"ay_stat": "XX罪(2)",
"count_beigao": 1,
"count_jie_beigao": 1,
"count_jie_other": 0,
"count_jie_total": 2,
"count_jie_yuangao": 1,
"count_other": 0,
"count_total": 2,
"count_wei_beigao": 0,
"count_wei_other": 0,
"count_wei_total": 0,
"count_wei_yuangao": 0,
"count_yuangao": 1,
"jafs_stat": "维持(1),判决(1)",
"larq_stat": "2018(1),2019(1)",
"money_beigao": 0,
"money_jie_beigao": 0,
"money_jie_other": 0,
"money_jie_total": 0,
"money_jie_yuangao": 0,
"money_other": 0,
"money_total": 0,
"money_wei_beigao": 0,
"money_wei_other": 0,
"money_wei_total": 0,
"money_wei_yuangao": 0,
"money_yuangao": 0
}
},
"implement": {
"cases": [
{
"c_ah": "(2021)XX01执001号",
"c_ah_ys": "(2019)XX01刑终001号:c3b429732a839deb0f14b3d5cf2349e3",
"c_dsrxx": [
{
"c_mc": "张三",
"n_dsrlx": "自然人",
"n_ssdw": "被执行人"
}
],
"c_id": "18e187eb0ee90a14c34012f98a700770",
"c_ssdy": "XX省",
"d_jarq": "2021-07-20",
"d_larq": "2021-05-26",
"n_ajbs": "2292af520e4752ff06da552964b4bab6",
"n_ajjzjd": "已结案",
"n_ajlx": "首次执行",
"n_crc": 1723025896,
"n_jaay": "XX",
"n_jabdje": 50000,
"n_jafs": "执行完毕",
"n_jbfy": "XX县人民法院",
"n_jbfy_cj": "基层法院",
"n_laay": "XX",
"n_sjdwje": 50000,
"n_sqzxbdje": 50000,
"n_ssdw": "被执行人",
"n_wzxje": 0
}
],
"count": {
"area_stat": "XX省(1)",
"ay_stat": "刑事(1)",
"count_beigao": 1,
"count_jie_beigao": 1,
"count_jie_other": 0,
"count_jie_total": 1,
"count_jie_yuangao": 0,
"count_other": 0,
"count_total": 1,
"count_wei_beigao": 0,
"count_wei_other": 0,
"count_wei_total": 0,
"count_wei_yuangao": 0,
"count_yuangao": 0,
"jafs_stat": "执行完毕(1)",
"larq_stat": "2021(1)",
"money_beigao": 6,
"money_jie_beigao": 6,
"money_jie_other": 0,
"money_jie_total": 6,
"money_jie_yuangao": 0,
"money_other": 0,
"money_total": 6,
"money_wei_beigao": 0,
"money_wei_other": 0,
"money_wei_percent": 0,
"money_wei_total": 0,
"money_wei_yuangao": 0,
"money_yuangao": 0
}
},
"preservation": {}
}
}
},
"api_name": "个人司法涉诉查询",
"api_code": "FLXG7E8F"
},
"special_list": {
"success": true,
"data": {
"code": "00",
"flag_specialList_c": "1",
"data": {
"code": "00",
"flag_specialList_c": "1",
"swift_number": "SWIFT_XXXXXXXX",
"sl_id_court_executed_allnum": "1",
"flag_datastrategy": "1",
"sl_id_court_executed_time": "4",
"sl_id_court_executed": "0",
"DataStrategy": {
"strategy_version": "1.0",
"product_type": "100099",
"strategy_id": "DTA_BR0007511",
"product_name": "预置_特殊名单验证",
"scene": "lend"
}
}
},
"api_name": "特殊名单验证",
"api_code": "FLXG3D56"
},
"consumption_ability": {
"success": true,
"data": {
"personincome_index_2.0": "300"
},
"api_name": "个人消费能力等级",
"api_code": "JRZQ8B3C"
},
"credit_score": {
"success": true,
"data": {
"score_120_General": "519"
},
"api_name": "个人信用分",
"api_code": "JRZQ0L85"
},
"enterprise_relation": {
"success": true,
"data": {
"ent_report_001": {
"queryResult": {
"items": [
{
"basicInfo": {
"base": "han",
"companyOrgType": "其他有限责任公司",
"creditCode": "XXXXXXXXXXXXXXX",
"estiblishTime": "2024-10-28",
"industry": "互联网和相关服务",
"legalPersonName": "张三",
"mainIndustry": "信息传输、软件和信息技术服务业",
"name": "XX科技有限公司",
"regCapital": "100.0000万人民币",
"regCapitalCurrency": "人民币",
"regNumber": "XXXXXXXXXXXXXXX",
"regStatus": "存续",
"staffList": {
"result": [
{
"name": "张三",
"type": "2",
"typeJoin": [
"总经理,董事,财务负责人"
]
}
]
},
"type": "1"
},
"orgName": "XX科技有限公司",
"pName": "张三",
"relationship": [
"lp",
"sh",
"tm"
],
"stockHolderItem": {
"investDate": "",
"investRate": "1%",
"orgHolderName": "张三",
"orgHolderType": "自然人",
"subscriptAmt": "1.000000"
}
}
]
}
}
},
"api_name": "名下企业关联",
"api_code": "QYGL5F6A"
},
"vehicle": {
"success": true,
"data": {
"carNum": "1"
},
"api_name": "名下车辆",
"api_code": "QCXG7A2B"
},
"anti_fraud": {
"success": true,
"data": {
"value": [
{
"riskLevel": "74",
"riskType": "110"
},
{
"riskLevel": "8",
"riskType": "170"
},
{
"riskLevel": "0",
"riskType": "150"
},
{
"riskLevel": "46",
"riskType": "130"
}
]
},
"api_name": "反赌反诈",
"api_code": "FLXG0687"
}
},
"success_count": 8,
"total_count": 8,
"query_info": {
"report_id": "ORD17652917739090",
"query_time": 1765291773,
"name": "张*三",
"id_card": "110101********1234",
"phone": "138****1234",
"gender": "男",
"age": 27
}
}
}
}
总结
2.0 在报告类型(新增婚姻)、支付与授权、会员与推广、前后端分离与独立后台管理等方面形成完整闭环。可在此基线快速对接自有账号、支付、数据源,或继续扩展更多行业化报告。