From 1230b1afdb9013664409f6f223845120c6588e80 Mon Sep 17 00:00:00 2001 From: milimoe Date: Thu, 1 May 2025 02:36:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OshimaWebAPI/Controllers/FunGameController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OshimaWebAPI/Controllers/FunGameController.cs b/OshimaWebAPI/Controllers/FunGameController.cs index da55fa9..71154b9 100644 --- a/OshimaWebAPI/Controllers/FunGameController.cs +++ b/OshimaWebAPI/Controllers/FunGameController.cs @@ -38,12 +38,12 @@ namespace Oshima.FunGame.WebAPI.Controllers [AllowAnonymous] [HttpGet("last")] - public string[] GetLast([FromQuery] bool full = false) + public List GetLast([FromQuery] bool full = false) { PluginConfig LastRecordConfig = new("FunGameSimulation", "LastRecord"); LastRecordConfig.LoadConfig(); string get = full ? "full" : "last"; - return LastRecordConfig.Get(get) ?? []; + return LastRecordConfig.GetValue>(get) ?? []; } [AllowAnonymous]