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