zoulei 1 year ago
parent
commit
618166a8f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      XdCxRhDW.WebApi/Startup.cs

+ 1 - 1
XdCxRhDW.WebApi/Startup.cs

@@ -116,7 +116,7 @@ namespace XdCxRhDW.WebApi
             {
                 //日期类型默认格式化处理
                 DateFormatHandling = DateFormatHandling.MicrosoftDateFormat,
-                DateFormatString = "yyyy-MM-dd HH:mm:ss",
+                DateFormatString = "yyyy-MM-dd HH:mm:ss.fff",
 
                 //驼峰样式
                 //ContractResolver = new CamelCasePropertyNamesContractResolver(),