commit
This commit is contained in:
@@ -55,6 +55,8 @@ namespace NX.ERP.WebAPi
|
||||
{
|
||||
//忽略循环引用,如果设置为Error,则遇到循环引用的时候报错
|
||||
ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
|
||||
DateTimeZoneHandling=DateTimeZoneHandling.Local,
|
||||
|
||||
//NullValueHandling = NullValueHandling.Ignore,
|
||||
//Formatting = Newtonsoft.Json.Formatting.Indented,
|
||||
//小驼峰命名法
|
||||
@@ -64,7 +66,7 @@ namespace NX.ERP.WebAPi
|
||||
NamingStrategy = new SnakeCaseNamingStrategy()
|
||||
}
|
||||
//格式化日期时间
|
||||
|
||||
|
||||
//空值处理
|
||||
//NullValueHandling = NullValueHandling.Ignore
|
||||
|
||||
|
||||
Reference in New Issue
Block a user