diff --git a/.gitignore b/.gitignore index 6242cbd..604e22f 100644 --- a/.gitignore +++ b/.gitignore @@ -5734,3 +5734,4 @@ HJGLPackFile/版本日志/HJGLDB_2024.05.02.sql /CreateModel2017.bat /DataBase/版本日志/HJGLDB_2024.05.12.sql /HJGL/.vs/HJGL/v17/.suo +/HJGL/WebApi/ErrLog.txt diff --git a/HJGL/.vs/HJGL/config/applicationhost.config b/HJGL/.vs/HJGL/config/applicationhost.config index 1963de0..e47cfd0 100644 --- a/HJGL/.vs/HJGL/config/applicationhost.config +++ b/HJGL/.vs/HJGL/config/applicationhost.config @@ -162,7 +162,7 @@ - + @@ -250,7 +250,7 @@ - + diff --git a/HJGL/BLL/BLL.csproj b/HJGL/BLL/BLL.csproj index d3515ff..b94c0d4 100644 --- a/HJGL/BLL/BLL.csproj +++ b/HJGL/BLL/BLL.csproj @@ -161,7 +161,6 @@ - diff --git a/HJGL/BLL/Common/MailHelper.cs b/HJGL/BLL/Common/MailHelper.cs index 50df84f..ba07b16 100644 --- a/HJGL/BLL/Common/MailHelper.cs +++ b/HJGL/BLL/Common/MailHelper.cs @@ -46,77 +46,92 @@ namespace FineUIPro.Web.common mailFrom = ps.EmailYx; } - MailMessage email = new MailMessage(); - //MailAddress emailFrom = new MailAddress(mailFrom); + //MailMessage email = new MailMessage(); + ////MailAddress emailFrom = new MailAddress(mailFrom); - //发件人 - email.From = new MailAddress(mailFrom, ps.EmailYx);//发件人地址 + ////发件人 + //email.From = new MailAddress(mailFrom, ps.EmailYx);//发件人地址 - //收件人 - if (mailTo != null && mailTo.Length > 0) - { - foreach (string send in mailTo) - { - if (!String.IsNullOrEmpty(send)) - { - email.To.Add(send); - } - } - } + ////收件人 + //if (mailTo != null && mailTo.Length > 0) + //{ + // foreach (string send in mailTo) + // { + // if (!String.IsNullOrEmpty(send)) + // { + // email.To.Add(send); + // } + // } + //} - //加抄送 - if (mailCC != null && mailCC.Length > 0) - { + ////加抄送 + //if (mailCC != null && mailCC.Length > 0) + //{ - foreach (string cc in mailCC) - { - if (!String.IsNullOrEmpty(cc)) - { - email.CC.Add(cc); - } - } - } + // foreach (string cc in mailCC) + // { + // if (!String.IsNullOrEmpty(cc)) + // { + // email.CC.Add(cc); + // } + // } + //} - //主题 - email.Subject = mailSubject; - //内容 - email.Body = mailBody; - //附件 - if (!string.IsNullOrEmpty(mailAttch)) - { - string[] attachments = mailAttch.Split(';'); - foreach (string file in attachments) - { - System.Net.Mail.Attachment attach = new System.Net.Mail.Attachment(file, System.Net.Mime.MediaTypeNames.Application.Octet); - //为附件添加发送时间 - System.Net.Mime.ContentDisposition disposition = attach.ContentDisposition; - disposition.CreationDate = System.IO.File.GetCreationTime(file); - disposition.ModificationDate = System.IO.File.GetLastWriteTime(file); - disposition.ReadDate = System.IO.File.GetLastAccessTime(file); - //添加附件 - email.Attachments.Add(attach); - } - } + ////主题 + //email.Subject = mailSubject; + ////内容 + //email.Body = mailBody; + ////附件 + //if (!string.IsNullOrEmpty(mailAttch)) + //{ + // string[] attachments = mailAttch.Split(';'); + // foreach (string file in attachments) + // { + // System.Net.Mail.Attachment attach = new System.Net.Mail.Attachment(file, System.Net.Mime.MediaTypeNames.Application.Octet); + // //为附件添加发送时间 + // System.Net.Mime.ContentDisposition disposition = attach.ContentDisposition; + // disposition.CreationDate = System.IO.File.GetCreationTime(file); + // disposition.ModificationDate = System.IO.File.GetLastWriteTime(file); + // disposition.ReadDate = System.IO.File.GetLastAccessTime(file); + // //添加附件 + // email.Attachments.Add(attach); + // } + //} //优先级 - email.Priority = (mailPriority == "High") ? System.Net.Mail.MailPriority.High : System.Net.Mail.MailPriority.Normal; - //内容编码、格式 - email.BodyEncoding = System.Text.Encoding.UTF8; - email.IsBodyHtml = true; + //email.Priority = (mailPriority == "High") ? System.Net.Mail.MailPriority.High : System.Net.Mail.MailPriority.Normal; + ////内容编码、格式 + //email.BodyEncoding = System.Text.Encoding.UTF8; + //email.IsBodyHtml = true; //SMTP服务器 - System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(ps.EmailFwq); - - client.UseDefaultCredentials = true; - //验证(Credentials 凭证) - client.Credentials = new System.Net.NetworkCredential(mailFrom, ps.EmailPass); - - //处理待发的电子邮件的方法 (Delivery 发送,传输) - client.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network; + //System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(ps.EmailFwq); + //client.EnableSsl = false; + //client.UseDefaultCredentials = true; + ////验证(Credentials 凭证) + //client.Credentials = new System.Net.NetworkCredential(mailFrom, ps.EmailPass); + ////处理待发的电子邮件的方法 (Delivery 发送,传输) + //client.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network; + System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage(); try { + mail.From = ps.EmailYx; + mail.To = string.Join(",", mailTo); + mail.Subject = mailSubject; + mail.BodyFormat = System.Web.Mail.MailFormat.Html; + mail.Body =mailBody; + mail.Cc = string.Join(",", mailCC); + mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); + mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", ps.EmailYx); + mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", ps.EmailPass); + mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport",ps.EmailDk); + mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true"); + System.Web.Mail.SmtpMail.SmtpServer = ps.EmailFwq; + System.Web.Mail.SmtpMail.Send(mail); + BLL.ErrLogInfo.WriteLog("开始发送邮件"); //发送邮件 - client.Send(email); + //client.Send(email); + BLL.ErrLogInfo.WriteLog("发送中..."); if (mailTo != null && mailTo.Length > 0) { foreach (string send in mailTo) @@ -140,6 +155,7 @@ namespace FineUIPro.Web.common } catch (Exception ex) { + BLL.ErrLogInfo.WriteLog(ex, "发送邮件失败"); if (mailTo != null && mailTo.Length > 0) { List ss = new List(); @@ -155,6 +171,7 @@ namespace FineUIPro.Web.common newSendEmail.EmailName = send; newSendEmail.EmailStatus = "发送失败"; newSendEmail.CreateTime = DateTime.Now; + newSendEmail.ErrorMsg = ex.Message; newSendEmail.CreateName = "sys"; BLL.Email_Send.Email_SendLogService.AddEmail_SendLog(newSendEmail); } @@ -166,8 +183,6 @@ namespace FineUIPro.Web.common finally { //及时释放占用的资源 - email.Attachments.Clear(); - email.Attachments.Dispose(); } } diff --git a/HJGL/BLL/SendEmailService.cs b/HJGL/BLL/SendEmailService.cs deleted file mode 100644 index f5b625a..0000000 --- a/HJGL/BLL/SendEmailService.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Net; -using System.Net.Mail; -using System.Text; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using BLL; - -namespace BLL -{ - public class SendEmailService - { - /// - /// - /// - /// 发件人 - /// 收件人 - /// 标题 - /// 内容 - /// 附件地址 - /// 密码 - /// - public static bool SendEmail(string sender, string receiver, string title, string content, string FulPath, string passWord) - { - bool IsSend = true; - - MailMessage mailObject = new MailMessage(); - string fromAddress = sender; //发件人 - MailAddress mayAddress = new MailAddress(fromAddress); - - mailObject.SubjectEncoding = System.Text.Encoding.UTF8; - mailObject.BodyEncoding = System.Text.Encoding.UTF8; - - //设置邮件的收件人 - string address = ""; - string[] mailNames = (receiver + ";").Split(';'); - foreach (string name in mailNames) - { - if (name != string.Empty) - { - if (name.IndexOf('<') > 0) - { - address = name.Substring(name.IndexOf('<') + 1).Replace('>', ' '); - } - else - { - address = name.Substring(name.IndexOf('<') + 1).Replace('>', ' '); - } - - mailObject.To.Add(new MailAddress(address));//收件人 - } - } - - mailObject.From = mayAddress; - mailObject.Subject = title;// "标题"; - mailObject.Body = content;//"内容"; - mailObject.IsBodyHtml = false; - - //设置邮件的附件,将在客户端选择的附件先上传到服务器保存一个,然后加入到mail中 - //设置邮件的附件,将在客户端选择的附件先上传到服务器保存一个,然后加入到mail中 - if (!String.IsNullOrEmpty(FulPath)) - { - mailObject.Attachments.Add(new Attachment(FulPath)); - mailObject.DeliveryNotificationOptions = DeliveryNotificationOptions.OnSuccess; - } - - - SmtpClient client; - client = new SmtpClient("smtp." + fromAddress.Substring(fromAddress.LastIndexOf("@") + 1)); - client.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis; - client.Timeout = 60000; - client.UseDefaultCredentials = false; - client.Credentials = new System.Net.NetworkCredential(fromAddress, passWord); - client.DeliveryMethod = SmtpDeliveryMethod.Network; - try - { - client.Send(mailObject); - return IsSend; - } - catch (Exception ex) - { - ErrLogInfo.WriteLog(ex); - return !IsSend; - } - } - } -} diff --git a/HJGL/FineUIPro.Web/Email_Send/Email_Send_Edit.aspx.cs b/HJGL/FineUIPro.Web/Email_Send/Email_Send_Edit.aspx.cs index 9b575d3..c830460 100644 --- a/HJGL/FineUIPro.Web/Email_Send/Email_Send_Edit.aspx.cs +++ b/HJGL/FineUIPro.Web/Email_Send/Email_Send_Edit.aspx.cs @@ -149,7 +149,7 @@ namespace FineUIPro.Web.Email_Send bool f = MailHelper.SendNetMail(pop, mailFrom, mailTo, mailSubject, mailBody, mailAttch, mailCode, mailPriority, mailCC, out resultMessage); if (f == true) { - ShowNotify("Send Successfully!", MessageBoxIcon.Success); + ShowNotify("发送成功!", MessageBoxIcon.Success); } else { diff --git a/HJGL/FineUIPro.Web/Web.config b/HJGL/FineUIPro.Web/Web.config index baa8804..9ecdad1 100644 --- a/HJGL/FineUIPro.Web/Web.config +++ b/HJGL/FineUIPro.Web/Web.config @@ -9,7 +9,7 @@
- + diff --git a/HJGL/Model/Model.cs b/HJGL/Model/Model.cs index d9abcc8..a8276dc 100644 --- a/HJGL/Model/Model.cs +++ b/HJGL/Model/Model.cs @@ -13428,6 +13428,8 @@ namespace Model private string _CreateName; + private string _ErrorMsg; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -13448,6 +13450,8 @@ namespace Model partial void OnCreateTimeChanged(); partial void OnCreateNameChanging(string value); partial void OnCreateNameChanged(); + partial void OnErrorMsgChanging(string value); + partial void OnErrorMsgChanged(); #endregion public Email_SendLog() @@ -13615,6 +13619,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrorMsg", DbType="NText", UpdateCheck=UpdateCheck.Never)] + public string ErrorMsg + { + get + { + return this._ErrorMsg; + } + set + { + if ((this._ErrorMsg != value)) + { + this.OnErrorMsgChanging(value); + this.SendPropertyChanging(); + this._ErrorMsg = value; + this.SendPropertyChanged("ErrorMsg"); + this.OnErrorMsgChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -22456,12 +22480,12 @@ namespace Model private string _DetectionStandard; - private string _Tabler; - private string _Remark; private System.Nullable _CreatedTime; + private string _Tabler; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -22480,12 +22504,12 @@ namespace Model partial void OnUnitIdChanged(); partial void OnDetectionStandardChanging(string value); partial void OnDetectionStandardChanged(); - partial void OnTablerChanging(string value); - partial void OnTablerChanged(); partial void OnRemarkChanging(string value); partial void OnRemarkChanged(); partial void OnCreatedTimeChanging(System.Nullable value); partial void OnCreatedTimeChanged(); + partial void OnTablerChanging(string value); + partial void OnTablerChanged(); #endregion public PMI_Delegation() @@ -22553,7 +22577,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] public string ProjectId { get @@ -22633,26 +22657,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="NVarChar(50)")] - public string Tabler - { - get - { - return this._Tabler; - } - set - { - if ((this._Tabler != value)) - { - this.OnTablerChanging(value); - this.SendPropertyChanging(); - this._Tabler = value; - this.SendPropertyChanged("Tabler"); - this.OnTablerChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(255)")] public string Remark { @@ -22693,6 +22697,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="NVarChar(50)")] + public string Tabler + { + get + { + return this._Tabler; + } + set + { + if ((this._Tabler != value)) + { + this.OnTablerChanging(value); + this.SendPropertyChanging(); + this._Tabler = value; + this.SendPropertyChanged("Tabler"); + this.OnTablerChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -22732,10 +22756,10 @@ namespace Model private int _Status; - private System.Nullable _CheckTime; - private string _ReportNo; + private System.Nullable _CheckTime; + private System.Nullable _ReportTime; #region 可扩展性方法定义 @@ -22754,10 +22778,10 @@ namespace Model partial void OnAcceptanceChanged(); partial void OnStatusChanging(int value); partial void OnStatusChanged(); - partial void OnCheckTimeChanging(System.Nullable value); - partial void OnCheckTimeChanged(); partial void OnReportNoChanging(string value); partial void OnReportNoChanged(); + partial void OnCheckTimeChanging(System.Nullable value); + partial void OnCheckTimeChanged(); partial void OnReportTimeChanging(System.Nullable value); partial void OnReportTimeChanged(); #endregion @@ -22867,7 +22891,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="Int NOT NULL")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="status", Storage="_Status", DbType="Int NOT NULL")] public int Status { get @@ -22887,26 +22911,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")] - public System.Nullable CheckTime - { - get - { - return this._CheckTime; - } - set - { - if ((this._CheckTime != value)) - { - this.OnCheckTimeChanging(value); - this.SendPropertyChanging(); - this._CheckTime = value; - this.SendPropertyChanged("CheckTime"); - this.OnCheckTimeChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportNo", Storage="_ReportNo", DbType="NVarChar(50)")] public string ReportNo { @@ -22927,6 +22931,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")] + public System.Nullable CheckTime + { + get + { + return this._CheckTime; + } + set + { + if ((this._CheckTime != value)) + { + this.OnCheckTimeChanging(value); + this.SendPropertyChanging(); + this._CheckTime = value; + this.SendPropertyChanged("CheckTime"); + this.OnCheckTimeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportTime", Storage="_ReportTime", DbType="DateTime")] public System.Nullable ReportTime { @@ -38567,6 +38591,8 @@ namespace Model private string _ProjectId; + private System.Nullable _IsPMI; + private string _PipelineCode; private string _PipelineId; @@ -38697,6 +38723,22 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="isPMI", Storage="_IsPMI", DbType="Bit")] + public System.Nullable IsPMI + { + get + { + return this._IsPMI; + } + set + { + if ((this._IsPMI != value)) + { + this._IsPMI = value; + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(100)")] public string PipelineCode { @@ -40705,8 +40747,6 @@ namespace Model private string _PipingClassCode; - private string _PIPClassCode; - private string _WeldingDate; private System.Nullable _IsCancel; @@ -41815,22 +41855,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PIPClassCode", DbType="NVarChar(50)")] - public string PIPClassCode - { - get - { - return this._PIPClassCode; - } - set - { - if ((this._PIPClassCode != value)) - { - this._PIPClassCode = value; - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="VarChar(100)")] public string WeldingDate { @@ -46227,7 +46251,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderIds", DbType="VarChar(1000)")] public string WelderIds { get diff --git a/HJGL/WebApi/Controllers/HomeController.cs b/HJGL/WebApi/Controllers/HomeController.cs new file mode 100644 index 0000000..f56264f --- /dev/null +++ b/HJGL/WebApi/Controllers/HomeController.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Mvc; + +namespace WebApi.Controllers +{ + public class HomeController : Controller + { + public ActionResult Index() + { + ViewBag.Title = "Home Page"; + + return View(); + } + } +} diff --git a/HJGL/WebApi/ErrLog.txt b/HJGL/WebApi/ErrLog.txt deleted file mode 100644 index ef9d8d6..0000000 --- a/HJGL/WebApi/ErrLog.txt +++ /dev/null @@ -1,44 +0,0 @@ - -错误信息开始=====> -错误类型:NotSupportedException -错误信息:方法“Boolean IsNullOrEmpty(System.String)”不支持转换为 SQL。 -错误堆栈: - 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringStaticMethod(SqlMethodCall mc) - 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc) - 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitUnaryOperator(SqlUnary uo) - 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo) - 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo) - 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo) - 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo) - 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select) - 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select) - 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a) - 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source) - 在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select) - 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select) - 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) - 在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations) - 在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) - 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) - 在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() - 在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - 在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - 在 BLL.Email_Send.Email_SendTemplateService.GetEmailByTemplateId(String templateId, String isCc) 位置 E:\湛江巴斯夫\Basf_TCC7\HJGL\BLL\SendEmail\Email_SendTemplateService.cs:行号 124 - 在 BLL.TaskScheduleService.GetNDEAuditEmailTemplate(Int32 type) 位置 E:\湛江巴斯夫\Basf_TCC7\HJGL\BLL\Schedule\TaskScheduleService.cs:行号 51 - 在 WebApi.Controllers.TaskController.GetNDEAuditEmailTemplate() 位置 E:\湛江巴斯夫\Basf_TCC7\HJGL\WebApi\Controllers\TaskController.cs:行号 19 -出错时间:05/17/2024 11:16:43 -The scheduled task failed to run the unaudited point-of-mail. Procedure -出错时间:05/17/2024 11:16:43 - -未检测到发送人邮箱,请先配置邮箱地址 -未检测到发送人邮箱,请先配置邮箱地址 diff --git a/HJGL/WebApi/WebApi.csproj b/HJGL/WebApi/WebApi.csproj index 898a76b..08d202c 100644 --- a/HJGL/WebApi/WebApi.csproj +++ b/HJGL/WebApi/WebApi.csproj @@ -157,6 +157,7 @@ + Global.asax