Skip to content

Commit 6d3acfc

Browse files
committed
Update ImgController.cs
1 parent 6d9efd7 commit 6d3acfc

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.docs/contents/Contribution/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
欢迎一起完善文档,
55
参与打赏的小可爱名单如下(单位:元),你们的贡献是我继续的动力:
6-
(2020年8月6日 10点47分)
6+
(2020年8月26日 10点47分)
77

88

99
|序号|微信昵称|助力值|备注|
@@ -65,6 +65,8 @@
6565
|55|古 * * 桐|10||
6666
|56|小 * * 柜|20||
6767
|57|rm * * rf|100||
68+
|58|高 * * 源|10||
69+
|59|Qq * * 80|10|未留微信号|
6870

6971

7072

Blog.Core.Api/Controllers/ImgController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public FileStreamResult DownBmd([FromServices]IWebHostEnvironment environment, s
128128
// 前端 blob 接收,具体查看前端admin代码
129129
string filepath = Path.Combine(environment.WebRootPath, filename);
130130
var stream = System.IO.File.OpenRead(filepath);
131-
string fileExt = ".bmd";
131+
//string fileExt = ".bmd";
132132
//获取文件的ContentType
133133
var provider = new Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider();
134134
//var memi = provider.Mappings[fileExt];

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ BCVP(Blog.Core&Vue Project)开箱即用的企业级前后端分离【 .NET C
2323
框架模块:
2424
- [x] 采用`仓储+服务+接口`的形式封装框架;
2525
- [x] 异步 async/await 开发;
26-
- [x] 接入 SqlSugar 提供ORM,封装数据库操作;
26+
- [x] 接入国产数据库ORM组件 —— SqlSugar,封装数据库操作;
2727
- [x] 支持自由切换多种数据库,Sqlite/SqlServer/MySql/PostgreSQL/Oracle;
2828
- [x] 实现项目启动,自动生成种子数据 ✨;
2929
- [x] 五种日志记录,审计/异常/请求响应/服务操作/Sql记录等;

0 commit comments

Comments
 (0)