From a247547df86f0fad8f03aebb91de68d3f2bc7918 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期四, 01 五月 2025 10:16:52 +0800
Subject: [PATCH] 修正sugsql导航更新加配置的bug

---
 cylsg/EzUpFile/UpFileController.cs |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/cylsg/EzUpFile/UpFileController.cs b/cylsg/EzUpFile/UpFileController.cs
index a3ee514..ec28556 100644
--- a/cylsg/EzUpFile/UpFileController.cs
+++ b/cylsg/EzUpFile/UpFileController.cs
@@ -5,6 +5,7 @@
 using Microsoft.AspNetCore.Mvc;
 using Microsoft.AspNetCore.Mvc.RazorPages;
 using Microsoft.IdentityModel.Abstractions;
+using StackExchange.Profiling.Internal;
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -21,8 +22,16 @@
     [ApiDescriptionSettings("FileUpdata")]    
     public class UpFileController
     {
+        /// <summary>
+        /// 鑾峰彇鏂囦欢 涓婁紶token
+        /// </summary>  
+        /// <returns></returns>
+        [HttpGet]
 
-
+        public Dictionary<string, string> GetToken([FromServices] IEzFileUploadService fileUploadService)
+        {
+            return fileUploadService.GetToken();
+        }
         /// <summary>
         /// 涓婁紶韬唤璇佷俊鎭�
         /// </summary>   
@@ -78,7 +87,7 @@
         public async Task<object> IaiAddPersoBase64([FromServices] IEzFileUploadService fileUploadService, UpDataFileData param)
         {
             if (string.IsNullOrEmpty(param.imgBase64))
-                throw Oops.Oh("娌℃湁鏂囦欢绫诲");
+                throw Oops.Oh("娌℃湁鏂囦欢鍐呭");
             if (string.IsNullOrEmpty(param.Name))
                 throw Oops.Oh("娌℃湁濮撳悕");
             if (string.IsNullOrEmpty(param.CordId))

--
Gitblit v1.9.1