add
This commit is contained in:
@@ -22,14 +22,14 @@ func ProcessIVYZX7J9Request(ctx context.Context, params []byte, deps *processors
|
||||
}
|
||||
|
||||
body := map[string]string{
|
||||
"name": nuoer.MD5(paramsDto.Name),
|
||||
"idCard": nuoer.MD5(paramsDto.IDCard),
|
||||
"name": paramsDto.Name,
|
||||
"idCard": paramsDto.IDCard,
|
||||
}
|
||||
|
||||
nuoerDoCheckAPIKey := "idVerify125"
|
||||
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 errors.Is(err, nuoer.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
|
||||
Reference in New Issue
Block a user