From 4fddd284a636ecfcf92f039fcdfde72add793db8 Mon Sep 17 00:00:00 2001
From: cheche <717840555@qq.com>
Date: Tue, 30 Jan 2024 11:43:12 +0800
Subject: [PATCH] =?UTF-8?q?fix=20=E4=B8=8A=E4=BC=A0=E8=B7=AF=E7=94=B1?=
=?UTF-8?q?=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Src/Dlhis.Common/Controllers/ApkFileController.cs | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/Src/Dlhis.Common/Controllers/ApkFileController.cs b/Src/Dlhis.Common/Controllers/ApkFileController.cs
index dec27e89..eae38eb0 100644
--- a/Src/Dlhis.Common/Controllers/ApkFileController.cs
+++ b/Src/Dlhis.Common/Controllers/ApkFileController.cs
@@ -3,7 +3,6 @@ using Dlhis.Common.Response;
using Dlhis.Common.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
-using Org.BouncyCastle.Asn1.Ocsp;
namespace Dlhis.Common.Controllers;
@@ -26,7 +25,7 @@ public class ApkFileController : ControllerBase
///
///
///
- [HttpPost("minlo")]
+ [HttpPost("minio")]
public async Task FormSingleFileUpload([FromForm] ApkRequest request)
{
return await _apkFIileService.FormSingleFileUpload(request);
@@ -37,7 +36,7 @@ public class ApkFileController : ControllerBase
///
///
///
- [HttpGet("url")]
+ [HttpGet("miniourl")]
public async Task RequestDownloadFile(string fileName)
{
return await _apkFIileService.RequestDownloadFile(fileName);
@@ -49,7 +48,7 @@ public class ApkFileController : ControllerBase
///
///
///
- [HttpPost("local")]
+ [HttpPost("uploadlocal")]
[RequestSizeLimit(100_000_0000)]
public async Task FormLocalFileUpload([FromForm] ApkRequest request)
@@ -61,7 +60,7 @@ public class ApkFileController : ControllerBase
///
///
///
- [HttpGet("latestFile")]
+ [HttpGet("lateFile")]
public async Task LatestFile(string fileName)
{
return await _apkFIileService.LatestFile(fileName);
@@ -72,7 +71,7 @@ public class ApkFileController : ControllerBase
///
///
///
- [HttpGet("local")]
+ [HttpGet("downlocal")]
public IActionResult FormLocalDownloadFile(string fileName)
{
return _apkFIileService.FormLocalDownloadFile(fileName);