|
@ -946,7 +946,6 @@ namespace EasyBL.WEBAPP.ShowEasy |
|
|
|
|
|
|
|
|
MemberDTO member = new MemberDTO(); |
|
|
MemberDTO member = new MemberDTO(); |
|
|
var sLang = WebAppGlobalConstWord.DEFAULT_LANGUAGE; |
|
|
var sLang = WebAppGlobalConstWord.DEFAULT_LANGUAGE; |
|
|
string requestUrl = Common.ConfigGetValue("", "ida:RedirectUri"); |
|
|
|
|
|
|
|
|
|
|
|
var saUser = db.Queryable<SETB_CMS_Member>() |
|
|
var saUser = db.Queryable<SETB_CMS_Member>() |
|
|
//搜尋條件
|
|
|
//搜尋條件
|
|
@ -966,9 +965,11 @@ namespace EasyBL.WEBAPP.ShowEasy |
|
|
var sCountry = db.Queryable<SETB_SYS_Country>() |
|
|
var sCountry = db.Queryable<SETB_SYS_Country>() |
|
|
.Where(x => x.CountryID == member.CountryID && x.LangType == sLang) |
|
|
.Where(x => x.CountryID == member.CountryID && x.LangType == sLang) |
|
|
.Single(); |
|
|
.Single(); |
|
|
member.CountryName = sCountry.CountryName; |
|
|
|
|
|
member.Country_ENCode = sCountry.Country_ENCode; |
|
|
|
|
|
|
|
|
if (sCountry != null) { |
|
|
|
|
|
member.CountryName = sCountry.CountryName; |
|
|
|
|
|
member.Country_ENCode = sCountry.Country_ENCode; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
//返回user信息
|
|
|
//返回user信息
|
|
|
srm = new SuccessResponseMessage(null, null); |
|
|
srm = new SuccessResponseMessage(null, null); |
|
@ -1103,7 +1104,7 @@ namespace EasyBL.WEBAPP.ShowEasy |
|
|
rsBooking.PaymentStatus = "01";//未付清
|
|
|
rsBooking.PaymentStatus = "01";//未付清
|
|
|
rsBooking.Account = Account; |
|
|
rsBooking.Account = Account; |
|
|
rsBooking.ExhibitionID = Booking.ExhibitionID; |
|
|
rsBooking.ExhibitionID = Booking.ExhibitionID; |
|
|
rsBooking.TotalPrice = Booking.TotalPrice; |
|
|
|
|
|
|
|
|
rsBooking.TotalPrice = Booking.TotalPrice;// string.IsNullOrEmpty(Booking.TotalPrice)? 0:int.Parse(Booking.TotalPrice);
|
|
|
rsBooking.ServiceID = Booking.ServiceID; |
|
|
rsBooking.ServiceID = Booking.ServiceID; |
|
|
rsBooking.PayType = Booking.PayType; |
|
|
rsBooking.PayType = Booking.PayType; |
|
|
rsBooking.CurrencyID = Booking.CurrencyID; |
|
|
rsBooking.CurrencyID = Booking.CurrencyID; |
|
@ -1157,6 +1158,26 @@ namespace EasyBL.WEBAPP.ShowEasy |
|
|
oEmail.Attachments = null; |
|
|
oEmail.Attachments = null; |
|
|
oEmail.EmailTo = toEmail; |
|
|
oEmail.EmailTo = toEmail; |
|
|
var bSend = new MailService(sORIGID, true).MailFactory(oEmail, out sError); |
|
|
var bSend = new MailService(sORIGID, true).MailFactory(oEmail, out sError); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//開始寄信 給會員
|
|
|
|
|
|
oEmail = new Emails(); //寄件人
|
|
|
|
|
|
toEmail = new List<EmailTo>(); //收件人
|
|
|
|
|
|
var oEmailTo1 = new EmailTo //收件人資訊
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
ToUserName = "", |
|
|
|
|
|
ToEmail = Email, |
|
|
|
|
|
Type = "to" |
|
|
|
|
|
}; |
|
|
|
|
|
toEmail.Add(oEmailTo1); |
|
|
|
|
|
oEmail.Title = "訂單預約通知"; //取fonfig
|
|
|
|
|
|
oEmail.EmailBody = "您好,我們成功收到了您的訂單"; |
|
|
|
|
|
oEmail.IsCCSelf = false; |
|
|
|
|
|
oEmail.Attachments = null; |
|
|
|
|
|
oEmail.EmailTo = toEmail; |
|
|
|
|
|
bSend = new MailService(sORIGID, true).MailFactory(oEmail, out sError); |
|
|
} |
|
|
} |
|
|
catch (Exception) |
|
|
catch (Exception) |
|
|
{ |
|
|
{ |
|
@ -1169,16 +1190,17 @@ namespace EasyBL.WEBAPP.ShowEasy |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var objBookingOnline = db.Queryable<SETB_SAL_BookingOnline>() |
|
|
|
|
|
//搜尋條件
|
|
|
|
|
|
.Where(x => x.OrgID == sORIGID && x.BookingID == strBookingID) |
|
|
|
|
|
.Single(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
srm = new SuccessResponseMessage(null, null); |
|
|
srm = new SuccessResponseMessage(null, null); |
|
|
srm.DATA.Add(BLWording.REL, iRel); |
|
|
|
|
|
|
|
|
srm.DATA.Add(BLWording.REL, objBookingOnline); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|