This commit is contained in:
2026-06-22 21:16:41 +08:00
parent 9fe8883728
commit af6774664f

View File

@@ -22,14 +22,14 @@ func ProcessIVYZX7J9Request(ctx context.Context, params []byte, deps *processors
} }
body := map[string]string{ body := map[string]string{
"name": nuoer.MD5(paramsDto.Name), "name": paramsDto.Name,
"idCard": nuoer.MD5(paramsDto.IDCard), "idCard": paramsDto.IDCard,
} }
nuoerDoCheckAPIKey := "idVerify125" nuoerDoCheckAPIKey := "idVerify125"
ApiPath := "/v1/doCheck" ApiPath := "/v1/doCheck"
resp, err := deps.NuoerService.CallAPI(ctx, nuoerDoCheckAPIKey, ApiPath, body, nuoer.WithEncryptionType(2)) resp, err := deps.NuoerService.CallAPI(ctx, nuoerDoCheckAPIKey, ApiPath, body)
if err != nil { if err != nil {
if errors.Is(err, nuoer.ErrDatasource) { if errors.Is(err, nuoer.ErrDatasource) {
return nil, errors.Join(processors.ErrDatasource, err) return nil, errors.Join(processors.ErrDatasource, err)