f
This commit is contained in:
@@ -2,6 +2,8 @@ package jrzq
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/md5"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
|
||||
@@ -21,9 +23,12 @@ func ProcessJRZQV3HMRequest(ctx context.Context, params []byte, deps *processors
|
||||
return nil, errors.Join(processors.ErrInvalidParam, err)
|
||||
}
|
||||
|
||||
idCardHash := md5.Sum([]byte(paramsDto.IDCard))
|
||||
mobileHash := md5.Sum([]byte(paramsDto.MobileNo))
|
||||
|
||||
body := map[string]string{
|
||||
"idCard": paramsDto.IDCard,
|
||||
"mobile": paramsDto.MobileNo,
|
||||
"idCard": hex.EncodeToString(idCardHash[:]),
|
||||
"mobile": hex.EncodeToString(mobileHash[:]),
|
||||
}
|
||||
|
||||
nuoerDoCheckAPIKey := "blackListV121_3_1"
|
||||
|
||||
Reference in New Issue
Block a user