This commit is contained in:
Mrx
2026-04-07 12:54:44 +08:00
parent 2a6ec6e3ca
commit 35a2eb03d8
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ func ProcessDWBG5SAMRequest(ctx context.Context, params []byte, deps *processors
return nil, errors.Join(processors.ErrSystem, err)
}
encryptedPhone, err := deps.ZhichaService.Encrypt(paramsDto.Phone)
encryptedMobileNo, err := deps.ZhichaService.Encrypt(paramsDto.MobileNo)
if err != nil {
return nil, errors.Join(processors.ErrSystem, err)
}
@@ -39,7 +39,7 @@ func ProcessDWBG5SAMRequest(ctx context.Context, params []byte, deps *processors
reqData := map[string]interface{}{
"name": encryptedName,
"idCard": encryptedIDCard,
"phone": encryptedPhone,
"phone": encryptedMobileNo,
"accessoryUrl": paramsDto.AuthorizationURL,
}