--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)
{
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<CustomerInfoResult>()