FlexJobApi.Web.Entry/Startup.cs
@@ -24,6 +24,7 @@ { services.AddHealthChecks(); services.AddConfigurableOptions<WxmpOptions>(); services.AddConfigurableOptions<AliyunOptions>(); services.AddComponent<LogServiceComponent>(); @@ -67,6 +68,7 @@ services.AddControllers() .AddNewtonsoftJson(options => { options.SerializerSettings.Converters.Add(new EmptyStringToNullConverter()); //options.SerializerSettings.Converters.Add(new StringEnumConverter()); }) .AddFriendlyException()