REQ-3201: 引入业务状态
This commit is contained in:
parent
faf8e9b69a
commit
35e939aa20
@ -227,7 +227,9 @@ public class CardManager {
|
||||
for (Card card : cardDao.reloadCards(cards)) {
|
||||
UpdateMessageRequest.Update update = new UpdateMessageRequest.Update();
|
||||
update.setBizMessageId(card.getBizMessageId());
|
||||
update.setMsgTemplateContent(JSON.toJSONString(card.getCardContent()));
|
||||
Object cardContent = card.getCardContent();
|
||||
update.setMsgTemplateContent(cardContent instanceof String ?
|
||||
(String) cardContent : JSON.toJSONString(cardContent));
|
||||
imRequest.addUpdate(update);
|
||||
}
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user