Skip to content

Commit 01d3640

Browse files
committed
更新Freesql包到最新版本
1 parent 6083913 commit 01d3640

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Admin.Core/Controllers/Admin/ImgController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.IO;
33
using System.Linq;
44
using System.Threading.Tasks;
5-
using Microsoft.AspNetCore.Hosting;
65
using Microsoft.AspNetCore.Http;
76
using Microsoft.AspNetCore.Mvc;
87
using Microsoft.Extensions.Options;
@@ -60,7 +59,7 @@ public FileStreamResult Avatar([FromServices]IWebHostEnvironment environment, st
6059
/// <returns></returns>
6160
[HttpPost]
6261
[Login]
63-
public async Task<IResponseOutput> AvatarUpload([FromServices]IWebHostEnvironment environment, IFormFile file)
62+
public async Task<IResponseOutput> AvatarUpload(IFormFile file)
6463
{
6564
if(file == null || file.Length < 1)
6665
{

0 commit comments

Comments
 (0)