|
@ -337,7 +337,7 @@ namespace EasyBL.WEBAPP.SYS |
|
|
var bSend = new MailService(sOrgID, true).MailFactory(oEmail, out sError); |
|
|
var bSend = new MailService(sOrgID, true).MailFactory(oEmail, out sError); |
|
|
|
|
|
|
|
|
srm = new SuccessResponseMessage(null, null); |
|
|
srm = new SuccessResponseMessage(null, null); |
|
|
srm.DATA.Add(BLWording.REL, Mailto.MemberID); |
|
|
|
|
|
|
|
|
srm.DATA.Add(BLWording.REL, Mailto.Email); |
|
|
} while (false); |
|
|
} while (false); |
|
|
|
|
|
|
|
|
return srm; |
|
|
return srm; |
|
@ -457,6 +457,7 @@ namespace EasyBL.WEBAPP.SYS |
|
|
{ |
|
|
{ |
|
|
do |
|
|
do |
|
|
{ |
|
|
{ |
|
|
|
|
|
Console.WriteLine(Email); |
|
|
var sUser = db.Queryable<SETB_CMS_Member>().Single(x => x.Email == Email); |
|
|
var sUser = db.Queryable<SETB_CMS_Member>().Single(x => x.Email == Email); |
|
|
sUser.Password = SecurityUtil.Encrypt(Password); //新密碼加密
|
|
|
sUser.Password = SecurityUtil.Encrypt(Password); //新密碼加密
|
|
|
var iRel = db.Updateable(sUser).ExecuteCommand(); //將新密碼更新至資料庫
|
|
|
var iRel = db.Updateable(sUser).ExecuteCommand(); //將新密碼更新至資料庫
|
|
|