This commit is contained in:
Mrx
2026-05-09 21:44:50 +08:00
parent 3c71431e55
commit f927f75637

View File

@@ -30,15 +30,11 @@ func ProcessIVYZZQ3BRequest(ctx context.Context, params []byte, deps *processors
if err != nil { if err != nil {
return nil, errors.Join(processors.ErrSystem, err) return nil, errors.Join(processors.ErrSystem, err)
} }
encryptedImageUrl, err := deps.ZhichaService.Encrypt(paramsDto.ImageUrl)
if err != nil {
return nil, errors.Join(processors.ErrSystem, err)
}
reqData := map[string]interface{}{ reqData := map[string]interface{}{
"idCard": encryptedIDCard, "idCard": encryptedIDCard,
"name": encryptedName, "name": encryptedName,
"imageId": encryptedImageUrl, "imageId": paramsDto.ImageUrl,
"authorized": paramsDto.Authorized, "authorized": paramsDto.Authorized,
} }