改名:大简云平台->济沧海平台

master
wanghaomei 2 years ago
parent 2cd34b4bcc
commit 7c11275ac1

@ -102,7 +102,7 @@ where t1.balance_0<comp.AlertMinValue";
{ {
if (item.MinValueEmail) if (item.MinValueEmail)
{ {
MailHelper.SendMailService($"大简云平台余额不足提醒", $"TO:{item.COMNAME}<br/>您当前的大简云平台余额为:{item.balance_0}元,已低于设定的提醒额度,请及时安排充值,以免影响正常使用。<br><br>————此邮件为大简云平台自动发送,请勿回复", item.MinValueEmailAddr); MailHelper.SendMailService($"济舱海平台余额不足提醒", $"TO:{item.COMNAME}<br/>您当前的济舱海平台余额为:{item.balance_0}元,已低于设定的提醒额度,请及时安排充值,以免影响正常使用。<br><br>————此邮件为济舱海平台自动发送,请勿回复", item.MinValueEmailAddr);
} }
if (item.MinValueSMS) if (item.MinValueSMS)
@ -123,7 +123,7 @@ where t1.balance_0<comp.AlertMinValue";
try try
{ {
request.PhoneNumbers = phoneNum; request.PhoneNumbers = phoneNum;
request.SignName = "大简云工作平台"; request.SignName = "济舱海平台";
request.TemplateCode = "SMS_225986095"; request.TemplateCode = "SMS_225986095";
request.TemplateParam = JsonConvert.SerializeObject(new request.TemplateParam = JsonConvert.SerializeObject(new
{ {

@ -2487,9 +2487,9 @@ namespace DSWeb.Areas.Mobile.Controllers
sb.Append("销售代码:" + cscode + "<br>"); sb.Append("销售代码:" + cscode + "<br>");
SendMailWithInfo(title, sb.ToString(), "平台注册", "衣国豪", picPath); SendMailWithInfo(title, sb.ToString(), "平台注册", "衣国豪", picPath);
string ctitle = "大简云工作平台注册成功"; string ctitle = "济舱海平台注册成功";
string ccontent = " 您好,您在大简云工作平台注册的账号已生效登陆ID" + username + "或" + phone + ",密码:" + password + ",请妥善保管,为提升您的使用体验,建议使用谷歌浏览器,谢谢支持!"; string ccontent = " 您好,您在济舱海平台注册的账号已生效登陆ID" + username + "或" + phone + ",密码:" + password + ",请妥善保管,为提升您的使用体验,建议使用谷歌浏览器,谢谢支持!";
SendMailToCustWithInfo(email, ctitle, ccontent, "大简云工作平台", realname); SendMailToCustWithInfo(email, ctitle, ccontent, "济舱海平台", realname);
msg = "success"; msg = "success";
return true; return true;

@ -1473,16 +1473,16 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeTDExt
mb.DESCRIPTION = ""; mb.DESCRIPTION = "";
} }
mb.DESCRIPTION = mb.DESCRIPTION.Replace("\r\n", "<br>"); mb.DESCRIPTION = mb.DESCRIPTION.Replace("\r\n", "<br>");
var mailtopic = "大简云工作平台询价:" + mb.COMNAME + "" + mb.XJNO + "" + mb.USERNAME; var mailtopic = "济舱海平台询价:" + mb.COMNAME + "" + mb.XJNO + "" + mb.USERNAME;
var mailbody = "起运港:" + mb.PORTLOAD + "<br>" + "目的港:" + mb.PORTDISCHARGE + "<br>" + "箱型箱量:" + ctnall var mailbody = "起运港:" + mb.PORTLOAD + "<br>" + "目的港:" + mb.PORTDISCHARGE + "<br>" + "箱型箱量:" + ctnall
+ "<br>" + "船期:" + covertDatetimeToYMD(mb.ETD) + "<br>" + "品名:" + mb.DESCRIPTION + "<br>" + "要求免箱使天数:" + mb.FREEDAYS + "<br>" + "询价有效期:" + BasicDataRefDAL.FormatDatetime(mb.YOUXIAOQI, "yyyy-MM-dd HH:mm:ss") + "<br> 询价人电话:" + mb.MOBILE + "<br>" + "船期:" + covertDatetimeToYMD(mb.ETD) + "<br>" + "品名:" + mb.DESCRIPTION + "<br>" + "要求免箱使天数:" + mb.FREEDAYS + "<br>" + "询价有效期:" + BasicDataRefDAL.FormatDatetime(mb.YOUXIAOQI, "yyyy-MM-dd HH:mm:ss") + "<br> 询价人电话:" + mb.MOBILE
+ "<br>" + "询价人邮箱:" + mb.EMAIL+"<br>备注:"+mb.XJBEIZHU; + "<br>" + "询价人邮箱:" + mb.EMAIL+"<br>备注:"+mb.XJBEIZHU;
mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过大简云工作平台发送,请您及时回复。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>"; mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过济舱海平台发送,请您及时回复。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>";
var userlist = MsBaseInfoDAL.MsBaseInfoDAL.GetUserBaseList("USERID in (" + hdUsers + ")"); var userlist = MsBaseInfoDAL.MsBaseInfoDAL.GetUserBaseList("USERID in (" + hdUsers + ")");
foreach (var user in userlist) foreach (var user in userlist)
{ {
var email = user.EMAIL1; var email = user.EMAIL1;
SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "大简云工作平台", mailtopic, mailbody, true); SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "济舱海平台", mailtopic, mailbody, true);
try try
{ {
@ -2047,10 +2047,10 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeTDExt
var mailbody = "业务编号:" + mb.XJNO + "<br>" + "起运港:" + mb.PORTLOAD + "<br>" + "目的港:" + mb.PORTDISCHARGE var mailbody = "业务编号:" + mb.XJNO + "<br>" + "起运港:" + mb.PORTLOAD + "<br>" + "目的港:" + mb.PORTDISCHARGE
+ "<br>" + "开船日期:" + mb.ETD + "<br>" + "联系人电话:" + mb.MOBILE + "<br>" + "联系人邮箱:" + mb.EMAIL1 + "<br>备注:"+mb.XJBEIZHU; + "<br>" + "开船日期:" + mb.ETD + "<br>" + "联系人电话:" + mb.MOBILE + "<br>" + "联系人邮箱:" + mb.EMAIL1 + "<br>备注:"+mb.XJBEIZHU;
mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过大简云工作平台发送。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>"; mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过济舱海平台发送。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>";
var email = mb.EMAILTO; var email = mb.EMAILTO;
SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "大简云工作平台", mailtopic, bodyPart1 + "<br>"+ mailbody, true); SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "济舱海平台", mailtopic, bodyPart1 + "<br>"+ mailbody, true);
try try
{ {

@ -2,7 +2,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<ProjectView>ProjectFiles</ProjectView> <ProjectView>ProjectFiles</ProjectView>
<NameOfLastUsedPublishProfile>E:\whm\PingTai2021\DSWeb\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> <NameOfLastUsedPublishProfile>E:\whm\proj_git\JiCangHai\PingTai\DSWeb\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />

@ -388,7 +388,7 @@ namespace DSWeb.Helper
{ {
model.PORTDISCHARGE = objPort.PORT; model.PORTDISCHARGE = objPort.PORT;
} }
else //2021-8-10 报文导入时,分单的港口默认取分单报文里的港口,如果该港口代码大简云平台不存在,则取主单的港口。 else //2021-8-10 报文导入时,分单的港口默认取分单报文里的港口,如果该港口代码济舱海平台不存在,则取主单的港口。
{ {
model.PORTDISCHARGEID = parent.PORTDISCHARGEID; model.PORTDISCHARGEID = parent.PORTDISCHARGEID;
model.PORTDISCHARGE = parent.PORTDISCHARGE; model.PORTDISCHARGE = parent.PORTDISCHARGE;
@ -408,7 +408,7 @@ namespace DSWeb.Helper
{ {
model.DESTINATION = objPort.PORT; model.DESTINATION = objPort.PORT;
} }
else //2021-8-10 报文导入时,分单的港口默认取分单报文里的港口,如果该港口代码大简云平台不存在,则取主单的港口。 else //2021-8-10 报文导入时,分单的港口默认取分单报文里的港口,如果该港口代码济舱海平台不存在,则取主单的港口。
{ {
model.DESTINATIONID = parent.DESTINATIONID; model.DESTINATIONID = parent.DESTINATIONID;
model.DESTINATION = parent.DESTINATION; model.DESTINATION = parent.DESTINATION;

Loading…
Cancel
Save