WIDESEAWCS_Server/WIDESEAWCS_Core/Middlewares/ApiLogMiddleware.cs
@@ -34,7 +34,7 @@ //if (AppSettings.app("Middleware", "RequestResponseLog", "Enabled").ObjToBool()) { // 过滤,只有接口 if (context.Request.Path.Value.Contains("api")) if (context.Request.Path.Value?.Contains("api") ?? false) { context.Request.EnableBuffering(); //Stream originalBody = context.Response.Body;