新增征信解析字段配置与生成服务
This commit is contained in:
159
lsfx-mock-server/config/credit_feature_schema.json
Normal file
159
lsfx-mock-server/config/credit_feature_schema.json
Normal file
@@ -0,0 +1,159 @@
|
||||
[
|
||||
{
|
||||
"domain": "lx_header",
|
||||
"field": "query_cert_no",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"domain": "lx_header",
|
||||
"field": "query_cust_name",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"domain": "lx_header",
|
||||
"field": "report_time",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_house_bal",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_house_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_house_state",
|
||||
"type": "status",
|
||||
"options": ["正常", "逾期", "不良"]
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_car_bal",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_car_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_car_state",
|
||||
"type": "status",
|
||||
"options": ["正常", "逾期", "不良"]
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_manage_bal",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_manage_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_manage_state",
|
||||
"type": "status",
|
||||
"options": ["正常", "逾期", "不良"]
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_consume_bal",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_consume_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_consume_state",
|
||||
"type": "status",
|
||||
"options": ["正常", "逾期", "不良"]
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_other_bal",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_other_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_bank_other_state",
|
||||
"type": "status",
|
||||
"options": ["正常", "逾期", "不良"]
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_not_bank_bal",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_not_bank_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_not_bank_state",
|
||||
"type": "status",
|
||||
"options": ["正常", "逾期", "不良"]
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_credit_cart_bal",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_credit_cart_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_debt",
|
||||
"field": "uncle_credit_cart_state",
|
||||
"type": "status",
|
||||
"options": ["正常", "逾期", "不良"]
|
||||
},
|
||||
{
|
||||
"domain": "lx_publictype",
|
||||
"field": "civil_cnt",
|
||||
"type": "count"
|
||||
},
|
||||
{
|
||||
"domain": "lx_publictype",
|
||||
"field": "enforce_cnt",
|
||||
"type": "count"
|
||||
},
|
||||
{
|
||||
"domain": "lx_publictype",
|
||||
"field": "adm_cnt",
|
||||
"type": "count"
|
||||
},
|
||||
{
|
||||
"domain": "lx_publictype",
|
||||
"field": "civil_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_publictype",
|
||||
"field": "enforce_lmt",
|
||||
"type": "amount"
|
||||
},
|
||||
{
|
||||
"domain": "lx_publictype",
|
||||
"field": "adm_lmt",
|
||||
"type": "amount"
|
||||
}
|
||||
]
|
||||
44
lsfx-mock-server/config/credit_response_examples.json
Normal file
44
lsfx-mock-server/config/credit_response_examples.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"success": {
|
||||
"message": "成功",
|
||||
"payload": {},
|
||||
"status_code": "0"
|
||||
},
|
||||
"errors": {
|
||||
"ERR_99999": {
|
||||
"message": "关键参数缺失,参数名: XX",
|
||||
"payload": null,
|
||||
"status_code": "ERR_99999"
|
||||
},
|
||||
"ERR_10001": {
|
||||
"message": "无效的证件号码",
|
||||
"payload": null,
|
||||
"status_code": "ERR_10001"
|
||||
},
|
||||
"ERR_10002": {
|
||||
"message": "无效的主题域",
|
||||
"payload": null,
|
||||
"status_code": "ERR_10002"
|
||||
},
|
||||
"ERR_10003": {
|
||||
"message": "报文类型无效,仅支持JSON/XML",
|
||||
"payload": null,
|
||||
"status_code": "ERR_10003"
|
||||
},
|
||||
"ERR_10004": {
|
||||
"message": "无效机构号或行社号",
|
||||
"payload": null,
|
||||
"status_code": "ERR_10004"
|
||||
},
|
||||
"ERR_10005": {
|
||||
"message": "无权限访问",
|
||||
"payload": null,
|
||||
"status_code": "ERR_10005"
|
||||
},
|
||||
"ERR_10006": {
|
||||
"message": "尽调报告生成异常:异步事件发送失败",
|
||||
"payload": null,
|
||||
"status_code": "ERR_10006"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user