add
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user