Skip to content

Commit

Permalink
parse
Browse files Browse the repository at this point in the history
  • Loading branch information
masaimu committed Feb 5, 2024
1 parent d51d6d7 commit dd45ec0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

/**
* alert template facade
*
*
* @author masaimu
* @version 2023-02-21 16:43:00
*/
Expand Down Expand Up @@ -305,12 +305,14 @@ public void doManage() {
}

if (StringUtils.isNotEmpty(template.text)) {
if (template.parseText()) {
result.setData(templateDTO);
}
result.setSuccess(template.parseText());
} else if (!CollectionUtils.isEmpty(template.fieldMap)) {
template.text = template.getTemplateJson();
result.setSuccess(true);
}
result.setData(templateDTO);
}
});

Expand Down

0 comments on commit dd45ec0

Please sign in to comment.