fix processor

This commit is contained in:
2025-08-26 16:47:24 +08:00
parent a91bde0c67
commit b1049cd984
4 changed files with 11 additions and 11 deletions

View File

@@ -36,10 +36,10 @@ func ProcessDWBG6A2CRequest(ctx context.Context, params []byte, deps *processors
return nil, fmt.Errorf("%s: %w", processors.ErrSystem, err)
}
reqData := map[string]interface{}{
"name": encryptedName,
"idCard": encryptedIDCard,
"mobileNo": encryptedMobileNo,
"authorizationURL": paramsDto.AuthorizationURL,
"name": encryptedName,
"idCard": encryptedIDCard,
"phone": encryptedMobileNo,
"accessoryUrl": paramsDto.AuthorizationURL,
}
respData, err := deps.ZhichaService.CallAPI(ctx, "ZCI102", reqData)

View File

@@ -36,10 +36,10 @@ func ProcessDWBG8B4DRequest(ctx context.Context, params []byte, deps *processors
return nil, fmt.Errorf("%s: %w", processors.ErrSystem, err)
}
reqData := map[string]interface{}{
"name": encryptedName,
"idCard": encryptedIDCard,
"mobileNo": encryptedMobileNo,
"authorizationURL": paramsDto.AuthorizationURL,
"name": encryptedName,
"idCard": encryptedIDCard,
"phone": encryptedMobileNo,
"accessoryUrl": paramsDto.AuthorizationURL,
}
respData, err := deps.ZhichaService.CallAPI(ctx, "ZCI103", reqData)