From c184c5442c8b0d5c7fa1b4e5dbfad2dc005fd5f8 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Fri, 24 Jan 2025 15:45:56 +0800 Subject: [PATCH] api fixed --- AxibugEmuOnline.Web/Controllers/ApiController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AxibugEmuOnline.Web/Controllers/ApiController.cs b/AxibugEmuOnline.Web/Controllers/ApiController.cs index aaf2803c..f0a0e939 100644 --- a/AxibugEmuOnline.Web/Controllers/ApiController.cs +++ b/AxibugEmuOnline.Web/Controllers/ApiController.cs @@ -220,7 +220,7 @@ namespace AxibugEmuOnline.Web.Controllers string HotOrderBy = "ORDER BY playcount DESC, id ASC"; - query = @$"SELECT romlist.id,romlist.`Name`,romlist.GameType,romlist.Note,romlist.RomUrl,romlist.ImgUrl,romlist.`Hash`,romlist.`playcount`,romlist.`stars`,romlist.`PlatformType` ,mlist.`parentids` + query = @$"SELECT romlist.id,romlist.`Name`,romlist.GameType,romlist.Note,romlist.RomUrl,romlist.ImgUrl,romlist.`Hash`,romlist.`playcount`,romlist.`stars`,romlist.`PlatformType` ,romlist.`parentids` from rom_stars LEFT JOIN romlist on romlist.Id = rom_stars.romid where rom_stars.uid = ?uid