feat: 新增请求访问统计功能

This commit is contained in:
橙子
2024-08-14 22:23:54 +08:00
parent b619204c5e
commit 9af98089f2
6 changed files with 135 additions and 92 deletions

View File

@@ -288,8 +288,8 @@ namespace Yi.Abp.Web
//swagger
app.UseYiSwagger();
//流量访问统计,不启用
//app.UseAccessLog();
//流量访问统计,需redis支持否则不生效
app.UseAccessLog();
//请求处理
app.UseYiApiHandlinge();