--bug fixed

develop
old易 2024-11-08 11:44:16 +08:00
parent 8a581138fd
commit dd64e46227
1 changed files with 30 additions and 30 deletions

View File

@ -258,7 +258,7 @@ namespace New_College.Services
{ {
if (query.Expectedscore != info.Expectedscore) 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; info.Expectedscore = query.Expectedscore;
} }
} }
@ -288,31 +288,31 @@ namespace New_College.Services
if (result) if (result)
{ {
// //
Task.Factory.StartNew(() => //Task.Factory.StartNew(() =>
{ //{
UpdateSYCustomer(new SyncUpdateCustomerDto() // UpdateSYCustomer(new SyncUpdateCustomerDto()
{ // {
syncUpdateStudentInfoDto = new SyncUpdateStudentInfoDto() // syncUpdateStudentInfoDto = new SyncUpdateStudentInfoDto()
{ // {
AreaId = info.AreaId, // AreaId = info.AreaId,
AreaName = info.AreaName, // AreaName = info.AreaName,
ClassName = info.ClassName, // ClassName = info.ClassName,
Datainit = true, // Datainit = true,
Gender = info.Gender, // Gender = info.Gender,
IsVIP = info.IsVIP, // IsVIP = info.IsVIP,
NickName = info.NickName, // NickName = info.NickName,
OpenId = info.OpenId, // OpenId = info.OpenId,
Phone = info.Phone, // Phone = info.Phone,
Salt = info.Salt, // Salt = info.Salt,
SchoolName = info.SchoolName, // SchoolName = info.SchoolName,
Status = info.Status, // Status = info.Status,
UserCode = info.UserCode, // UserCode = info.UserCode,
UserPwd = info.UserPwd, // UserPwd = info.UserPwd,
Year = info.Year // Year = info.Year
}, // },
key = ThridConfig.secretKey // key = ThridConfig.secretKey
}); // });
}); //});
return new CustomerInfoResult() return new CustomerInfoResult()
{ {
Status = 1, Status = 1,
@ -382,10 +382,10 @@ namespace New_College.Services
} }
if (!string.IsNullOrWhiteSpace(info.Phone) && !info.IsVIP) if (!string.IsNullOrWhiteSpace(info.Phone) && !info.IsVIP)
{ {
Task.Run(async () => //Task.Run(async () =>
{ //{
SyncXET(info); // SyncXET(info);
}); //});
} }
return new MessageModel<CustomerInfoResult>() return new MessageModel<CustomerInfoResult>()