|
|
@ -24,10 +24,10 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
public class SignupService : ServiceBase |
|
|
|
{ |
|
|
|
//public static string SERVER_IP = "localhost";
|
|
|
|
//public static string SERVER_PORT = "3466";
|
|
|
|
// public static string SERVER_PORT = "3466";
|
|
|
|
|
|
|
|
public static string SERVER_IP = "www.origtek.com"; |
|
|
|
public static string SERVER_PORT = "9105"; |
|
|
|
//public static string SERVER_IP = "www.origtek.com";
|
|
|
|
//public static string SERVER_PORT = "9105";
|
|
|
|
|
|
|
|
//使用者以信箱註冊
|
|
|
|
public HttpResponseMessage SignupWithEmail(SETB_CMS_Member newUser) |
|
|
@ -267,6 +267,7 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
StringBuilder sb = new StringBuilder(); |
|
|
|
|
|
|
|
EmailTemplate_CH mailTemplate = new EmailTemplate_CH(); |
|
|
|
var Server = Common.ConfigGetValue("", "ida:SERVER"); |
|
|
|
|
|
|
|
sb.Append(mailTemplate.MailHeader()); |
|
|
|
sb.Append(mailTemplate.MailCSS()); |
|
|
@ -319,7 +320,7 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
sb.Append("<tr>"); |
|
|
|
sb.Append("<td class=\"s-btn s-btn__primary\" style=\"border-radius: 16px; background: #ee9546\">"); |
|
|
|
sb.Append("<a class=\"s-btn s-btn__primary\" href=\""); |
|
|
|
sb.Append("http://" + SERVER_IP + ":" + SERVER_PORT + "/api/Signup/VerifyAccount?OrgID=" + OrgID + "&MemberID=" + MemberID); |
|
|
|
sb.Append(Server + "/api/Signup/VerifyAccount?OrgID=" + OrgID + "&MemberID=" + MemberID); |
|
|
|
sb.Append(" \" target=\"_parent\" style=\"background: #ee9546;border: 1px solid #ee9546;font-family: arial, sans-serif; font-size: 14px;line-height: 16px; color: #ffffff;text-align: center;text-decoration: none;padding: 12px 20px; display: block; border-radius: 16px; white-space: nowrap;\">"); |
|
|
|
sb.Append("會員認證"); |
|
|
|
sb.Append("</a>"); |
|
|
@ -383,6 +384,8 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
StringBuilder sb = new StringBuilder(); |
|
|
|
|
|
|
|
EmailTemplate_CH mailTemplate = new EmailTemplate_CH(); |
|
|
|
var Server = Common.ConfigGetValue("", "ida:SERVER"); |
|
|
|
|
|
|
|
|
|
|
|
sb.Append(mailTemplate.MailHeader()); |
|
|
|
sb.Append(mailTemplate.MailCSS()); |
|
|
@ -438,7 +441,7 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
sb.Append("<tr>"); |
|
|
|
sb.Append("<td class=\"s-btn s-btn__primary\" style=\"border-radius: 16px; background: #ee9546\">"); |
|
|
|
sb.Append("<a class=\"s-btn s-btn__primary\" href=\""); |
|
|
|
sb.Append("http://" + SERVER_IP + ":" + SERVER_PORT + "/api/Signup/ResetPage?Email=" + Email); |
|
|
|
sb.Append(Server + "/api/Signup/ResetPage?Email=" + Email); |
|
|
|
sb.Append(" \" target=\"_parent\" style=\"background: #ee9546;border: 1px solid #ee9546;font-family: arial, sans-serif; font-size: 14px;line-height: 16px; color: #ffffff;text-align: center;text-decoration: none;padding: 12px 20px; display: block; border-radius: 16px; white-space: nowrap;\">"); |
|
|
|
sb.Append("重設密碼"); |
|
|
|
sb.Append("</a>"); |
|
|
@ -531,6 +534,8 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
StringBuilder sb = new StringBuilder(); |
|
|
|
|
|
|
|
EmailTemplate_CH mailTemplate = new EmailTemplate_CH(); |
|
|
|
var Server = Common.ConfigGetValue("", "ida:SERVER"); |
|
|
|
|
|
|
|
|
|
|
|
sb.Append(mailTemplate.MailHeader()); |
|
|
|
sb.Append(mailTemplate.MailCSS()); |
|
|
|