fix: 邮件标题
This commit is contained in:
@@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/client")
|
@RequestMapping("/client")
|
||||||
@Tag(name = "u用户平台-终端设备接口")
|
@Tag(name = "用户平台-终端设备接口")
|
||||||
public class UClientController extends BaseController {
|
public class UClientController extends BaseController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ public class UEmailController extends BaseController {
|
|||||||
String htmlStr = templateEngine.process("mail", context);
|
String htmlStr = templateEngine.process("mail", context);
|
||||||
String subject = mailProperties.getSubject();
|
String subject = mailProperties.getSubject();
|
||||||
if (StrUtil.isBlank(subject)) {
|
if (StrUtil.isBlank(subject)) {
|
||||||
subject = "Your WANFI Verification Code";
|
subject = "Your Verification Code";
|
||||||
}
|
}
|
||||||
MailUtils.sendHtml(email, subject, htmlStr);
|
MailUtils.sendHtml(email, subject, htmlStr);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user