Grails4 rest-api 发送html邮件,引用GSP发送

it2024-09-28  41

1、build.gradle 引入GSP模板

apply plugin:"org.grails.grails-gsp" dependencies { compile "org.grails.plugins:gsp" }

2、编写GSP模板

 3、使用GSP发送html信息

4、效果

 

最新回复(0)