Utility class for sending templated messages (SMS, email, WeChat) using Freemarker within a Spring Boot application.
// Source: https://github.com/jeecgboot/JeecgBoot | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. package org.jeecg.modules.message.util; import freemarker.template.Configuration; import freemarker.template.Template; import freemarker.template.TemplateException; import org.jeecg.modules.message.entity.SysMessage; import org.jeecg.modules.message.entity.SysMessageTemplate; import org.jeecg.modules.message.handle.enums.SendMsgStatusEnum; import org.jeecg.modules.message.service.ISysMessageService; import org.jeecg.modules.message.service.ISysMessageTemplateService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; impor ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key