|
@@ -45,6 +45,7 @@ namespace GxPress.Api.AppControllers
|
|
|
/// <param name="file"></param>
|
|
|
/// <returns></returns>
|
|
|
[AllowAnonymous]
|
|
|
+ [RequestSizeLimit(900_000_000)]
|
|
|
[HttpPost("upload")]
|
|
|
public async Task<ResultPath> Upload(IFormFile file)
|
|
|
{
|
|
@@ -91,6 +92,7 @@ namespace GxPress.Api.AppControllers
|
|
|
/// <param name="file"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpPost("uploads")]
|
|
|
+ [RequestSizeLimit(900_000_000)]
|
|
|
[AllowAnonymous]
|
|
|
public async Task<List<ResultPath>> Uploads(List<IFormFile> file)
|
|
|
{
|
|
@@ -171,6 +173,7 @@ namespace GxPress.Api.AppControllers
|
|
|
/// <param name="code"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpPost("upload-files")]
|
|
|
+ [RequestSizeLimit(900_000_000)]
|
|
|
[AllowAnonymous]
|
|
|
public async Task<List<ResultPath>> UploadFiles(List<IFormFile> file, [FromForm] string code)
|
|
|
{
|