增加ImageCache微信 图片缓存
This commit is contained in:
1 parent
d6cb5b966b
commit
d0f9f00b76
15 files changed
+518
-30
No files matched your search
@@ -59,7 +59,7 @@ namespace MAX.Framework.Commons
|
||||
}
|
||||
|
||||
var originalBody = context.Response.Body;
|
||||
var buffer = _streamManager.GetStream();
|
||||
using var buffer = _streamManager.GetStream();
|
||||
|
||||
context.Response.Body = buffer;
|
||||
|
||||
@@ -126,7 +126,6 @@ namespace MAX.Framework.Commons
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase
|
||||
});
|
||||
|
||||
buffer.Dispose();
|
||||
}
|
||||
|
||||
private static bool IsPassthroughByRequest(HttpContext context)
|
||||
|
||||
Reference in new issue
Block a user