f
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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[:])
|
||||
|
||||
Reference in New Issue
Block a user