f
This commit is contained in:
@@ -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": "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user