REQ-3502: 添加bizCode和subBizCode

This commit is contained in:
yanglin 2025-01-16 17:10:37 +08:00
parent 634d62ef80
commit 89a632ba30

View File

@ -155,9 +155,7 @@ class CardParser {
if (bizBody.getCardButtons() == null) if (bizBody.getCardButtons() == null)
bizBody.setCardButtons(new ArrayList<>()); bizBody.setCardButtons(new ArrayList<>());
CardButton imButton = new CardButton(); CardButton imButton = new CardButton();
bizBody.getCardButtons().add(imButton);
if (bizBody.getCardButtons().size() < cardProps.getMaxSendingCardButtonsCount())
bizBody.getCardButtons().add(imButton);
String actionPerformed = buttonInterceptor String actionPerformed = buttonInterceptor
.getActionPerformedName(button) .getActionPerformedName(button)