Browse Source

[WHAT] webconfig [WHY] 開發 ShowEasy 後臺=

Dev
Janie 2 years ago
parent
commit
ebc59faa0c
  1. 3
      EuroTran/EasyBL.WEBAPP/ShowEasy/SignupService.cs
  2. 5
      EuroTran/WebApp/Web.config

3
EuroTran/EasyBL.WEBAPP/ShowEasy/SignupService.cs

@ -267,7 +267,7 @@ namespace EasyBL.WEBAPP.SYS
StringBuilder sb = new StringBuilder();
EmailTemplate_CH mailTemplate = new EmailTemplate_CH();
var Server = Common.ConfigGetValue("", "ida:SERVER");
var Server = Common.ConfigGetValue("", "ida:RedirectUri");
sb.Append(mailTemplate.MailHeader());
sb.Append(mailTemplate.MailCSS());
@ -321,6 +321,7 @@ namespace EasyBL.WEBAPP.SYS
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(Server + "/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>");

5
EuroTran/WebApp/Web.config

@ -87,10 +87,7 @@
<add key="ida:AppId" value="8509ba61-9451-4960-94d8-10934d5365cc" />
<add key="ida:AppPassword" value="qWWKUV056{*{)fuowwgHK31" />
<add key="ida:RedirectUri" value="http://localhost:3466" />
<add key="ida:WebsiteUri" value="http://www.origtek.com:3000" />
<add key="ida:Server" value="http://www.origtek.com:3002" />
<!--<add key="ida:WebsiteUri" value="http://localhost:3000" />
<add key="ida:SERVER" value="http://localhost:3466" />-->
<add key="ida:WebsiteUri" value="http://www.origtek.com:3000" />
<add key="ida:AppScopes" value=" User.Read Mail.ReadWrite Mail.Send Calendars.ReadWrite Contacts.Read Contacts.ReadWrite" />
<add key="ida:GraphRootUri" value="https://graph.microsoft.com/beta" />
</appSettings>

Loading…
Cancel
Save