|
@@ -21,6 +21,7 @@ using XF.Domain.Options;
|
|
|
using XF.EasyCaching;
|
|
|
using XF.Utility.MQ;
|
|
|
using Hotline.DataSharing;
|
|
|
+using System.Runtime.CompilerServices;
|
|
|
|
|
|
namespace Hotline.Api;
|
|
|
|
|
@@ -125,6 +126,12 @@ internal static class StartupExtensions
|
|
|
|
|
|
internal static WebApplication ConfigurePipelines(this WebApplication app)
|
|
|
{
|
|
|
+ app.Use(async (context, next) =>
|
|
|
+ {
|
|
|
+ var a = context.Request.QueryString;
|
|
|
+ app.Logger.LogInformation($"进入前收到通话记录:{a}");
|
|
|
+ await next(context);
|
|
|
+ });
|
|
|
app.UseSerilogRequestLogging();
|
|
|
|
|
|
// Configure the HTTP request pipeline.
|