修复邮箱图片显示逻辑,兼容 google gmail

This commit is contained in:
bjdgyc
2024-03-22 16:45:11 +08:00
parent eb7401f6e5
commit e5c6533c9b
4 changed files with 23 additions and 4 deletions

View File

@@ -183,10 +183,15 @@ const accountMail = `<p>您好:</p>
用户PIN码: <b>{{.PinCode}}</b> <br/>
<!--
用户动态码(3天后失效):<br/>
<img src="{{.OtpImg}}"/>
<img src="{{.OtpImg}}"/><br/>
用户动态码(请妥善保存):<br/>
<img src="{{.OtpImgBase64}}"/><br/>
下面是兼容 gmail 的写法
-->
用户动态码(请妥善保存):<br/>
<img src="{{.OtpImgBase64}}"/>
<img src="cid:userOtpQr.png" alt="userOtpQr" /><br/>
</p>
<div>
使用说明: