From bf115741a56bceb55688ad17ef84f4308bad68bb Mon Sep 17 00:00:00 2001 From: zpc Date: Sun, 14 Sep 2025 18:50:40 +0800 Subject: [PATCH] 213 --- CoreCms.Net.Web.WebApi/Controllers/SQController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreCms.Net.Web.WebApi/Controllers/SQController.cs b/CoreCms.Net.Web.WebApi/Controllers/SQController.cs index f79bb8b..5bb0e46 100644 --- a/CoreCms.Net.Web.WebApi/Controllers/SQController.cs +++ b/CoreCms.Net.Web.WebApi/Controllers/SQController.cs @@ -437,7 +437,7 @@ ISQRoomUnavailableTimesServices sQRoomUnavailableTimesServices var availableRooms = allRooms .Where(r => r.status == true && !unavailableRoomIds.Contains(r.id) && !reservedRoomIds.Contains(r.id)) .OrderBy(r => r.name) - .Select(it => new { name = it.name + $" {it.price_per_hour}/小时", it.id, it.capacity }) + .Select(it => new { name = it.name + $" {it.price_per_hour.ToString("#.##")}/小时", it.id, it.capacity }) .ToList(); return new WebApiDto()