This commit is contained in:
Mrx
2026-06-05 13:48:48 +08:00
parent a2cdeffb0c
commit 8c4fe013e2

View File

@@ -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"