REQ-3045: IM按钮
This commit is contained in:
parent
f654ed1c60
commit
c53d0fda80
@ -103,7 +103,7 @@ public class MessageTemplateParserV3 {
|
||||
@Override
|
||||
public void visitButton(ParsedButtonV3 button) {
|
||||
parseButtonV2(button);
|
||||
parseButtonV3(button);
|
||||
parseButtonForCms(button);
|
||||
}
|
||||
|
||||
private void parseButtonV2(ParsedButtonV3 button) {
|
||||
@ -128,7 +128,7 @@ public class MessageTemplateParserV3 {
|
||||
}
|
||||
}
|
||||
|
||||
private void parseButtonV3(ParsedButtonV3 button) {
|
||||
private void parseButtonForCms(ParsedButtonV3 button) {
|
||||
CardButtonForCms cmsButton = new CardButtonForCms();
|
||||
cmsButton.setTitle(button.getName());
|
||||
cmsButton.setAction(button.getCategory().name());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user