From 23f10d56074ef7a526cf652e4c256cc6ff82bf7b Mon Sep 17 00:00:00 2001 From: tq <1916474859@qq,com> Date: Fri, 18 Oct 2024 16:28:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebStarter/Controllers/SwapMonitorController.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WebStarter/Controllers/SwapMonitorController.cs b/WebStarter/Controllers/SwapMonitorController.cs index f0df26c..a538756 100644 --- a/WebStarter/Controllers/SwapMonitorController.cs +++ b/WebStarter/Controllers/SwapMonitorController.cs @@ -29,8 +29,10 @@ public class SwapMonitorController : ControllerBase private readonly IStringLocalizer _localizer; public readonly SwapOrderRepository _swapOrderRepository; - public SwapMonitorController(MonitorService swapMonitorService, BinInfoService binInfoService,SwapOrderRepository swapOrderRepository) + public SwapMonitorController(MonitorService swapMonitorService, BinInfoService binInfoService,SwapOrderRepository swapOrderRepository, + IStringLocalizer localizer) { + _localizer = localizer; _swapMonitorService = swapMonitorService; _binInfoService = binInfoService; _swapOrderRepository = swapOrderRepository;