|
|
@ -18,12 +18,14 @@ public class FileController : BaseApiController |
|
|
|
private readonly IConfiguration _configuration; |
|
|
|
private readonly IConfiguration _configuration; |
|
|
|
private readonly IWebHostEnvironment _hostingEnvironment; |
|
|
|
private readonly IWebHostEnvironment _hostingEnvironment; |
|
|
|
private readonly IGhre_AttachmentServices _ghre_AttachmentServices; |
|
|
|
private readonly IGhre_AttachmentServices _ghre_AttachmentServices; |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// 构造函数 |
|
|
|
/// 构造函数 |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
/// <param name="logger"></param> |
|
|
|
/// <param name="logger"></param> |
|
|
|
/// <param name="configuration"></param> |
|
|
|
/// <param name="configuration"></param> |
|
|
|
/// <param name="hostingEnvironment"></param> |
|
|
|
/// <param name="hostingEnvironment"></param> |
|
|
|
|
|
|
|
/// <param name="ghre_AttachmentServices"></param> |
|
|
|
public FileController(ILogger<TiobonController> logger, IConfiguration configuration, IWebHostEnvironment hostingEnvironment, IGhre_AttachmentServices ghre_AttachmentServices) |
|
|
|
public FileController(ILogger<TiobonController> logger, IConfiguration configuration, IWebHostEnvironment hostingEnvironment, IGhre_AttachmentServices ghre_AttachmentServices) |
|
|
|
{ |
|
|
|
{ |
|
|
|
_logger = logger; |
|
|
|
_logger = logger; |
|
|
|