Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
laodaming 2023-09-07 09:58:37 +08:00
commit c80cb7bc9b
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -79,8 +79,7 @@ func (l *UserEmailRegisterLogic) UserEmailRegister(req *types.RequestEmailRegist
} else {
tplsel = "email_register_oauth2.tpl"
if oauthId, ok := token.Extend["oauth_id"]; ok {
platformAndID = token.Platform + " Id: " + oauthId.(string)
platformAndID = token.Platform + " id: " + oauthId.(string)
logx.Error(platformAndID)
}
}