diff --git a/New_College.Services/V_CustomerInfoServices.cs b/New_College.Services/V_CustomerInfoServices.cs index 380bfef..ef6a80d 100644 --- a/New_College.Services/V_CustomerInfoServices.cs +++ b/New_College.Services/V_CustomerInfoServices.cs @@ -258,7 +258,7 @@ namespace New_College.Services { if (query.Expectedscore != info.Expectedscore) { - await _userSetting.UpdateSingleCustomerSetting(new UserBaseSettingUpdateDTO() { UType = 0, CustomerId = query.StudentId });//修改参数次数 + // await _userSetting.UpdateSingleCustomerSetting(new UserBaseSettingUpdateDTO() { UType = 0, CustomerId = query.StudentId });//修改参数次数 info.Expectedscore = query.Expectedscore; } } @@ -288,31 +288,31 @@ namespace New_College.Services if (result) { // - Task.Factory.StartNew(() => - { - UpdateSYCustomer(new SyncUpdateCustomerDto() - { - syncUpdateStudentInfoDto = new SyncUpdateStudentInfoDto() - { - AreaId = info.AreaId, - AreaName = info.AreaName, - ClassName = info.ClassName, - Datainit = true, - Gender = info.Gender, - IsVIP = info.IsVIP, - NickName = info.NickName, - OpenId = info.OpenId, - Phone = info.Phone, - Salt = info.Salt, - SchoolName = info.SchoolName, - Status = info.Status, - UserCode = info.UserCode, - UserPwd = info.UserPwd, - Year = info.Year - }, - key = ThridConfig.secretKey - }); - }); + //Task.Factory.StartNew(() => + //{ + // UpdateSYCustomer(new SyncUpdateCustomerDto() + // { + // syncUpdateStudentInfoDto = new SyncUpdateStudentInfoDto() + // { + // AreaId = info.AreaId, + // AreaName = info.AreaName, + // ClassName = info.ClassName, + // Datainit = true, + // Gender = info.Gender, + // IsVIP = info.IsVIP, + // NickName = info.NickName, + // OpenId = info.OpenId, + // Phone = info.Phone, + // Salt = info.Salt, + // SchoolName = info.SchoolName, + // Status = info.Status, + // UserCode = info.UserCode, + // UserPwd = info.UserPwd, + // Year = info.Year + // }, + // key = ThridConfig.secretKey + // }); + //}); return new CustomerInfoResult() { Status = 1, @@ -382,10 +382,10 @@ namespace New_College.Services } if (!string.IsNullOrWhiteSpace(info.Phone) && !info.IsVIP) { - Task.Run(async () => - { - SyncXET(info); - }); + //Task.Run(async () => + //{ + // SyncXET(info); + //}); } return new MessageModel()