This commit is contained in:
Mrx
2026-06-11 10:24:49 +08:00
parent d5fa2f0a15
commit 3e0b100bbf
3 changed files with 8 additions and 3 deletions

View File

@@ -299,7 +299,7 @@ func (s *FormConfigServiceImpl) getDTOStruct(ctx context.Context, apiCode string
"IVYZVJJ6": &dto.IVYZVJJ6Req{}, //收入等级tax_income_level_v8
"YYSYTJC4": &dto.YYSYTJC4Req{}, //运营商近三个月欠费次数脉
"YYSYP72D": &dto.YYSYP72DReq{}, //运营商近三个月欠费次数脉
"DWBG3BF9": &dto.DWBG3BF9Req{}, // 个人风险档案
"DWBG3BF9": &dto.DWBG3BF9Req{}, // 个人风险档案max
"DWBG9FB3": &dto.DWBG9FB3Req{}, // 个人风险档案1
"DWBG9FB2": &dto.DWBG9FB2Req{}, // 个人风险档案2

View File

@@ -22,8 +22,8 @@ func ProcessJRZQV3HMRequest(ctx context.Context, params []byte, deps *processors
}
body := map[string]string{
"idCard": paramsDto.IDCard,
"mobile": paramsDto.MobileNo,
"idCard": nuoer.MD5(paramsDto.IDCard),
"mobile": nuoer.MD5(paramsDto.MobileNo),
}
nuoerDoCheckAPIKey := "blackListV121_3_1"

View File

@@ -32,6 +32,11 @@ func Sign(body map[string]string, secret string) string {
return genMD5(sb.String())
}
// MD5 返回字符串的 MD5 小写十六进制摘要。
func MD5(s string) string {
return genMD5(s)
}
func genMD5(s string) string {
sum := md5.Sum([]byte(s))
return hex.EncodeToString(sum[:])