From b7041949338728f4f8b7cc96f4ed6a92b40fda36 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 05 一月 2024 12:30:56 +0800
Subject: [PATCH] 1.Startup.cs 文件中增加授权.apk文件 2.Excel下载方法中增加.net core直接下载wwwroot下的文件代码(暂时不用,先注释掉)

---
 VueWebCoreApi/Controllers/DeviceManagerController.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/VueWebCoreApi/Controllers/DeviceManagerController.cs b/VueWebCoreApi/Controllers/DeviceManagerController.cs
index 90a46b1..5b32f7e 100644
--- a/VueWebCoreApi/Controllers/DeviceManagerController.cs
+++ b/VueWebCoreApi/Controllers/DeviceManagerController.cs
@@ -614,6 +614,8 @@
         /// <param name="repairdate">淇濆吇鏃堕棿</param>
         /// <param name="repairresult">淇濆吇缁撴灉</param>
         /// <returns></returns>
+        [Route(template: "DeviceRepairTakeSearch")]
+        [HttpGet]
         public JsonResult DeviceRepairTakeSearch(int page, int rows, string prop, string order, string wkshopcode = null, string eqpcode = null,string eqpname=null, string stanedname = null, string repairuser = null, string repairdate = null, string repairresult = null)
         {
             var token = HttpContext.Request.Headers["Token"].ToString();

--
Gitblit v1.9.3