diff --git a/New_College.Api/Controllers/HealthCheckController.cs b/New_College.Api/Controllers/HealthCheckController.cs index dce7996..57cc69e 100644 --- a/New_College.Api/Controllers/HealthCheckController.cs +++ b/New_College.Api/Controllers/HealthCheckController.cs @@ -70,7 +70,7 @@ namespace New_College.Controllers //return d_LongIdMapServices.UpdateUniveristyInf(); // await d_LongIdMapServices.UpdatePlanScoreLine(); - // await v_CustomerInfoServices.CustomeBillExport(); + await v_CustomerInfoServices.CustomeBillExport(); return true; } diff --git a/New_College.Services/V_CustomerInfoServices.cs b/New_College.Services/V_CustomerInfoServices.cs index 0b9fc4d..8285982 100644 --- a/New_College.Services/V_CustomerInfoServices.cs +++ b/New_College.Services/V_CustomerInfoServices.cs @@ -484,7 +484,7 @@ namespace New_College.Services } } - + } catch (Exception exx) { @@ -737,10 +737,10 @@ namespace New_College.Services Directory.CreateDirectory(DirectoryName); ListExportExcelUtil.ExportToExcel(clist, newpath); - string outputres = "Excel/"+outputPath; + string outputres = "Excel/" + outputPath; string outputurl = AliYunOssHelper.UploadFile(outputres, newpath); - - await MailKitManagement.SendMessageAsync(new List() { SHanDongTel.Mail }, new List() { }, "六纬志愿技术团队", string.Format("文件下载地址:上周用户数据

", outputurl), null, true); + System.Threading.Thread.Sleep(1500); + await MailKitManagement.SendMessageAsync(new List() { SHanDongTel.Mail, "156663459@qq.com" }, new List() { }, "六纬志愿技术团队", string.Format("文件下载地址:上周用户数据

", outputurl), null, true); System.IO.File.Delete(newpath); }