fix
This commit is contained in:
parent
d1d1b2ced0
commit
2a31906da4
|
@ -9,7 +9,7 @@ From: "Fusen Support"
|
|||
|
||||
<p>Dear <span style="color: red;">{{.UserName}}</span>,</p>
|
||||
|
||||
<p>Thank you for choosing to associate your email address with your {{ .CompanyName }} account({{ .PlatformAndID }}) . To complete the process, please click the button below to confirm your email:</p>
|
||||
<p>Thank you for choosing to associate your email address with your {{ .CompanyName }} account {{ .PlatformAndID }}. To complete the process, please click the button below to confirm your email:</p>
|
||||
|
||||
<a href="{{ .ConfirmationLink }}" target="_blank" style="background-color: #008CBA; color: #FFFFFF; text-decoration: none; padding: 10px 15px; border-radius: 3px; display:inline-block; font-weight: bold;">Confirm Email: {{ .Email }}</a>
|
||||
|
||||
|
|
|
@ -81,9 +81,9 @@ func (l *UserEmailRegisterLogic) UserEmailRegister(req *types.RequestEmailRegist
|
|||
}
|
||||
|
||||
userName := token.Extend["first_name"].(string) + " " + token.Extend["last_name"].(string)
|
||||
var platformAndId string
|
||||
var platformAndID string
|
||||
if oauthId, ok := token.Extend["oauth_id"]; ok {
|
||||
platformAndId = token.Platform + " Id: " + oauthId.(string)
|
||||
platformAndID = token.Platform + " Id: " + oauthId.(string)
|
||||
}
|
||||
|
||||
// 进入发送邮箱的系统
|
||||
|
@ -98,7 +98,7 @@ func (l *UserEmailRegisterLogic) UserEmailRegister(req *types.RequestEmailRegist
|
|||
Extend: map[string]string{
|
||||
"UserName": userName,
|
||||
"Email": req.Email,
|
||||
"PlatformAndID": platformAndId,
|
||||
"PlatformAndID": platformAndID,
|
||||
},
|
||||
} // email进入队
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user