From d7b01cca243ea2a767adbb1418a52258b4f2d765 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期五, 21 三月 2025 17:27:07 +0800 Subject: [PATCH] fix:状态更新 --- LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs index 72c0935..a7d2889 100644 --- a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs +++ b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs @@ -20,15 +20,18 @@ public class LifePayController : AbpController { private readonly ILifePayService _lifePayService; + private readonly IStatisticsService _statisticsService; private readonly IWebClientInfoProvider _webClientInfoProvider; private readonly ILogger<LifePayController> _logger; public LifePayController( ILifePayService lifePayService, + IStatisticsService statisticsService, IWebClientInfoProvider webClientInfoProvider , ILogger<LifePayController> logger ) { _lifePayService = lifePayService; + _statisticsService = statisticsService; _webClientInfoProvider = webClientInfoProvider; _logger = logger; } @@ -43,7 +46,7 @@ [AllowAnonymous] public async Task<TopStatisticsOutput> GetTopStatistics() { - return await _lifePayService.GetTopStatistics(); + return await _statisticsService.GetTopStatistics(); } /// <summary> @@ -192,7 +195,7 @@ } /// <summary> - /// 鑾峰彇璁㈠崟鍒嗛〉鏁版嵁 + /// 鑾峰彇閫�娆捐鍗曞垎椤垫暟鎹� /// </summary> /// <param name="input"></param> /// <returns></returns> @@ -370,7 +373,6 @@ var bytes = ExcelHelper.ListToByteForExcel(data, "xlsx"); return File(bytes, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "璁㈠崟绠$悊" + ".xlsx"); } - return Json(default); } @@ -378,7 +380,6 @@ public async Task<string> GetBillErceiptExport(string orderNo) { var data = await _lifePayService.GetBillErceiptExport(orderNo); - return data; } -- Gitblit v1.9.1