From ceffccb2d276b1319e76badeb8f91b7f28dc55cf Mon Sep 17 00:00:00 2001 From: milimoe Date: Sat, 26 Apr 2025 16:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96=EF=BC=8C?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=BB=A3=E7=A0=81=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FunGame.Server/Controllers/DataRequestController.cs | 6 +++--- FunGame.Server/FunGame.Server.csproj | 6 +++--- FunGame.Server/Services/FunGameSystem.cs | 6 +++--- FunGame.WebAPI/Controllers/InventoryController.cs | 2 +- FunGame.WebAPI/Controllers/RoomController.cs | 2 +- FunGame.WebAPI/Controllers/UserCenterController.cs | 2 -- FunGame.WebAPI/FunGame.WebAPI.csproj | 8 ++++---- 7 files changed, 15 insertions(+), 17 deletions(-) diff --git a/FunGame.Server/Controllers/DataRequestController.cs b/FunGame.Server/Controllers/DataRequestController.cs index b760d61..f0482c5 100644 --- a/FunGame.Server/Controllers/DataRequestController.cs +++ b/FunGame.Server/Controllers/DataRequestController.cs @@ -1499,7 +1499,7 @@ namespace Milimoe.FunGame.Server.Controller } resultData.Add("msg", msg); } - + /// /// 下架市场物品 /// @@ -1683,7 +1683,7 @@ namespace Milimoe.FunGame.Server.Controller } else msg = "当前状态不允许发起方取消。"; break; - + case OfferActionType.OfferorAccept: if (isOfferor && offer.Status == OfferState.Negotiating) { @@ -1717,7 +1717,7 @@ namespace Milimoe.FunGame.Server.Controller } else msg = "当前状态不允许接收方确认。"; break; - + case OfferActionType.OffereeSend: if (!isOfferor && (offer.Status == OfferState.OffereeConfirmed)) { diff --git a/FunGame.Server/FunGame.Server.csproj b/FunGame.Server/FunGame.Server.csproj index 1b225d9..554c6cb 100644 --- a/FunGame.Server/FunGame.Server.csproj +++ b/FunGame.Server/FunGame.Server.csproj @@ -39,9 +39,9 @@ - - - + + + diff --git a/FunGame.Server/Services/FunGameSystem.cs b/FunGame.Server/Services/FunGameSystem.cs index bf9f788..fccbd46 100644 --- a/FunGame.Server/Services/FunGameSystem.cs +++ b/FunGame.Server/Services/FunGameSystem.cs @@ -45,12 +45,12 @@ namespace Milimoe.FunGame.Server.Services /// 服务器配置 /// public static PluginConfig UserKeys { get; set; } = new("system", "user_keys"); - + /// /// 服务器配置 /// public static PluginConfig LocalConfig { get; set; } = new("system", "local"); - + /// /// 数据库配置 /// @@ -303,7 +303,7 @@ namespace Milimoe.FunGame.Server.Services } return false; } - + /// /// 创建 API Secret Key /// diff --git a/FunGame.WebAPI/Controllers/InventoryController.cs b/FunGame.WebAPI/Controllers/InventoryController.cs index 8650414..d8a96a6 100644 --- a/FunGame.WebAPI/Controllers/InventoryController.cs +++ b/FunGame.WebAPI/Controllers/InventoryController.cs @@ -79,7 +79,7 @@ namespace Milimoe.FunGame.WebAPI.Controllers response.Message = "ʱ޷"; return StatusCode(500, response); } - + /// /// ȡгݣƷ /// diff --git a/FunGame.WebAPI/Controllers/RoomController.cs b/FunGame.WebAPI/Controllers/RoomController.cs index bf75009..a079e63 100644 --- a/FunGame.WebAPI/Controllers/RoomController.cs +++ b/FunGame.WebAPI/Controllers/RoomController.cs @@ -278,7 +278,7 @@ namespace Milimoe.FunGame.WebAPI.Controllers response.Message = "ʱ޷"; return StatusCode(500, response); } - + /// /// ȡ /// diff --git a/FunGame.WebAPI/Controllers/UserCenterController.cs b/FunGame.WebAPI/Controllers/UserCenterController.cs index 49cc9a1..d6e2613 100644 --- a/FunGame.WebAPI/Controllers/UserCenterController.cs +++ b/FunGame.WebAPI/Controllers/UserCenterController.cs @@ -1,9 +1,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Milimoe.FunGame.Core.Library.Constant; -using Milimoe.FunGame.Core.Library.SQLScript.Entity; using Milimoe.FunGame.WebAPI.Models; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Milimoe.FunGame.WebAPI.Controllers { diff --git a/FunGame.WebAPI/FunGame.WebAPI.csproj b/FunGame.WebAPI/FunGame.WebAPI.csproj index 0c5b16e..5be1ecb 100644 --- a/FunGame.WebAPI/FunGame.WebAPI.csproj +++ b/FunGame.WebAPI/FunGame.WebAPI.csproj @@ -24,10 +24,10 @@ - - - - + + + +