|
|
@ -129,15 +129,15 @@ public class PeisHttpApiHostModule : AbpModule |
|
|
opt.Password.RequiredLength = 1; |
|
|
opt.Password.RequiredLength = 1; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
//密码策略配置
|
|
|
|
|
|
context.Services.Configure<IdentityOptions>(opt => |
|
|
|
|
|
{ |
|
|
|
|
|
opt.Password.RequireDigit = false; |
|
|
|
|
|
opt.Password.RequireLowercase = false; |
|
|
|
|
|
opt.Password.RequireUppercase = false; |
|
|
|
|
|
opt.Password.RequireNonAlphanumeric = false; |
|
|
|
|
|
opt.Password.RequiredLength = 1; |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
////密码策略配置
|
|
|
|
|
|
//context.Services.Configure<IdentityOptions>(opt =>
|
|
|
|
|
|
//{
|
|
|
|
|
|
// opt.Password.RequireDigit = false;
|
|
|
|
|
|
// opt.Password.RequireLowercase = false;
|
|
|
|
|
|
// opt.Password.RequireUppercase = false;
|
|
|
|
|
|
// opt.Password.RequireNonAlphanumeric = false;
|
|
|
|
|
|
// opt.Password.RequiredLength = 1;
|
|
|
|
|
|
//});
|
|
|
|
|
|
|
|
|
#region 临时去掉日志
|
|
|
#region 临时去掉日志
|
|
|
//关闭审计日志
|
|
|
//关闭审计日志
|
|
|
@ -596,11 +596,11 @@ public class PeisHttpApiHostModule : AbpModule |
|
|
.GetSection("Corn").Value; |
|
|
.GetSection("Corn").Value; |
|
|
if (isActive == "Y") |
|
|
if (isActive == "Y") |
|
|
{ |
|
|
{ |
|
|
if(thirdInterfaceDto.ThirdInterfaceType == "02") |
|
|
|
|
|
|
|
|
if (thirdInterfaceDto.ThirdInterfaceType == "02") |
|
|
{ |
|
|
{ |
|
|
RecurringJob.AddOrUpdate<IChargeRequestInterfaceQueryWorker>("收费接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local); |
|
|
RecurringJob.AddOrUpdate<IChargeRequestInterfaceQueryWorker>("收费接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local); |
|
|
} |
|
|
} |
|
|
else if(thirdInterfaceDto.ThirdInterfaceType == "03") |
|
|
|
|
|
|
|
|
else if (thirdInterfaceDto.ThirdInterfaceType == "03") |
|
|
{ |
|
|
{ |
|
|
RecurringJob.AddOrUpdate<IImportLisResultInterfaceWorker>("导入检验结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local); |
|
|
RecurringJob.AddOrUpdate<IImportLisResultInterfaceWorker>("导入检验结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local); |
|
|
} |
|
|
} |
|
|
|