This commit is contained in:
Mrx
2026-03-21 14:37:40 +08:00
parent f9a6204b40
commit 15c6257762

View File

@@ -27,7 +27,7 @@ func ProcessYYSYBE08Request(ctx context.Context, params []byte, deps *processors
// 以表单方式调用数脉 API参数在 CallAPIForm 内转为 application/x-www-form-urlencoded // 以表单方式调用数脉 API参数在 CallAPIForm 内转为 application/x-www-form-urlencoded
apiPath := "/v4/id_card/check" apiPath := "/v4/id_card/check"
// 先尝试使用政务接口app_id2 和 app_secret2 // 先尝试使用政务接口app_id2 和 app_secret2
respBytes, err := deps.ShumaiService.CallAPIForm(ctx, apiPath, reqFormData, true) respBytes, err := deps.ShumaiService.CallAPIForm(ctx, apiPath, reqFormData, true)
if err != nil { if err != nil {
@@ -45,7 +45,7 @@ func ProcessYYSYBE08Request(ctx context.Context, params []byte, deps *processors
"idCard": paramsDto.IDCard, "idCard": paramsDto.IDCard,
"name": paramsDto.Name, "name": paramsDto.Name,
"resultCode": "5XXX", "resultCode": "5XXX",
"resultMsg": errorMsg, "resultMsg": "数据源请求异常无记录",
"verifyResult": "", "verifyResult": "",
}, },
}, },