增加配置

develop
old易 2024-04-15 17:42:53 +08:00
parent ed646d5cad
commit a4710466e5
2 changed files with 5 additions and 5 deletions

View File

@ -70,7 +70,7 @@ namespace New_College.Controllers
//return d_LongIdMapServices.UpdateUniveristyInf(); //return d_LongIdMapServices.UpdateUniveristyInf();
// await d_LongIdMapServices.UpdatePlanScoreLine(); // await d_LongIdMapServices.UpdatePlanScoreLine();
// await v_CustomerInfoServices.CustomeBillExport(); await v_CustomerInfoServices.CustomeBillExport();
return true; return true;
} }

View File

@ -484,7 +484,7 @@ namespace New_College.Services
} }
} }
} }
catch (Exception exx) catch (Exception exx)
{ {
@ -737,10 +737,10 @@ namespace New_College.Services
Directory.CreateDirectory(DirectoryName); Directory.CreateDirectory(DirectoryName);
ListExportExcelUtil.ExportToExcel(clist, newpath); ListExportExcelUtil.ExportToExcel(clist, newpath);
string outputres = "Excel/"+outputPath; string outputres = "Excel/" + outputPath;
string outputurl = AliYunOssHelper.UploadFile(outputres, newpath); string outputurl = AliYunOssHelper.UploadFile(outputres, newpath);
System.Threading.Thread.Sleep(1500);
await MailKitManagement.SendMessageAsync(new List<string>() { SHanDongTel.Mail }, new List<string>() { }, "六纬志愿技术团队", string.Format("文件下载地址:<a href='{0}'>上周用户数据</a></p>", outputurl), null, true); await MailKitManagement.SendMessageAsync(new List<string>() { SHanDongTel.Mail, "156663459@qq.com" }, new List<string>() { }, "六纬志愿技术团队", string.Format("文件下载地址:<a href='{0}'>上周用户数据</a></p>", outputurl), null, true);
System.IO.File.Delete(newpath); System.IO.File.Delete(newpath);
} }