Compare commits
2 Commits
72cb407766
...
0582390b2c
Author | SHA1 | Date |
---|---|---|
|
0582390b2c | |
|
cdf1119764 |
|
@ -126,6 +126,47 @@ csharp_style_deconstructed_variable_declaration = true:suggestion
|
||||||
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
|
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
|
||||||
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
|
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
|
||||||
|
|
||||||
|
# SA0001: XML comment analysis disabled
|
||||||
|
dotnet_diagnostic.SA0001.severity = suggestion
|
||||||
|
|
||||||
|
# SA1002: Semicolons should be spaced correctly
|
||||||
|
dotnet_diagnostic.SA1002.severity = suggestion
|
||||||
|
|
||||||
|
# SA1005: Single line comments should begin with single space
|
||||||
|
dotnet_diagnostic.SA1005.severity = none
|
||||||
|
dotnet_diagnostic.CS8618.severity = none
|
||||||
|
dotnet_diagnostic.CS8604.severity = none
|
||||||
|
dotnet_diagnostic.CS8600.severity = none
|
||||||
|
dotnet_diagnostic.CS1570.severity = none
|
||||||
|
dotnet_diagnostic.CS8601.severity = none
|
||||||
|
dotnet_diagnostic.CS8632.severity = none
|
||||||
|
dotnet_diagnostic.CS8625.severity = none
|
||||||
|
|
||||||
|
dotnet_diagnostic.CS8603.severity = none
|
||||||
|
dotnet_diagnostic.CS8602.severity = none
|
||||||
|
dotnet_diagnostic.CS1998.severity = none
|
||||||
|
dotnet_diagnostic.CS0168.severity = none
|
||||||
|
dotnet_diagnostic.CS0219.severity = none
|
||||||
|
dotnet_diagnostic.CS0108.severity = none
|
||||||
|
dotnet_diagnostic.CS0120.severity = none
|
||||||
|
|
||||||
|
dotnet_diagnostic.CS8620.severity = none
|
||||||
|
dotnet_diagnostic.CS8619.severity = none
|
||||||
|
dotnet_diagnostic.CS0162.severity = none
|
||||||
|
dotnet_diagnostic.CS0472.severity = none
|
||||||
|
|
||||||
|
dotnet_diagnostic.CS8629.severity = none
|
||||||
|
dotnet_diagnostic.CS8073.severity = none
|
||||||
|
dotnet_diagnostic.CS0414.severity = none
|
||||||
|
dotnet_diagnostic.CS1573.severity = none
|
||||||
|
dotnet_diagnostic.CS0109.severity = none
|
||||||
|
|
||||||
|
csharp_style_prefer_method_group_conversion = true:silent
|
||||||
|
csharp_style_prefer_top_level_statements = true:silent
|
||||||
|
dotnet_diagnostic.SA1003.severity = silent
|
||||||
|
dotnet_diagnostic.SA1108.severity = silent
|
||||||
|
dotnet_diagnostic.SA1107.severity = silent
|
||||||
|
|
||||||
[*.vb]
|
[*.vb]
|
||||||
#### 命名样式 ####
|
#### 命名样式 ####
|
||||||
|
|
||||||
|
|
|
@ -2488,7 +2488,7 @@ namespace IRaCIS.Application.Services
|
||||||
var value = _provider.Get<string>(cacheKey).Value;
|
var value = _provider.Get<string>(cacheKey).Value;
|
||||||
if (value == null)
|
if (value == null)
|
||||||
{
|
{
|
||||||
_provider.Set(cacheKey, DateTime.Now.ToString(), TimeSpan.FromHours(5));
|
_provider.Set(cacheKey, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), TimeSpan.FromHours(5));
|
||||||
// _cache.Set(cacheKey, DateTime.Now.ToString(), TimeSpan.FromHours(5));
|
// _cache.Set(cacheKey, DateTime.Now.ToString(), TimeSpan.FromHours(5));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue