From 57fb27ac6874642d190533df66aa087c6ec94813 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期五, 21 三月 2025 12:28:10 +0800 Subject: [PATCH] 退款订单列表 --- LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs | 32 +++++++++++++++++++++++++------- 1 files changed, 25 insertions(+), 7 deletions(-) diff --git a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs index e3c7a06..845b691 100644 --- a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs +++ b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs @@ -39,12 +39,12 @@ /// 鑾峰彇椤堕儴缁熻鏁版嵁 /// </summary> /// <returns></returns> - //[HttpGet] - //[AllowAnonymous] - //public async Task<TopStatisticsOutput> GetTopStatistics() - //{ - // return await _lifePayService.GetTopStatistics(); - //} + [HttpGet] + [AllowAnonymous] + public async Task<TopStatisticsOutput> GetTopStatistics() + { + return await _lifePayService.GetTopStatistics(); + } /// <summary> /// 鑾峰彇鐢佃垂闈㈠�� @@ -189,6 +189,17 @@ public async Task<PageOutput<LifePayOrderListOutput>> GetLifePayOrderPage(QueryLifePayOrderListInput input) { return await _lifePayService.GetLifePayOrderPage(input); + } + + /// <summary> + /// 鑾峰彇閫�娆捐鍗曞垎椤垫暟鎹� + /// </summary> + /// <param name="input"></param> + /// <returns></returns> + [HttpPost] + public async Task<PageOutput<LifePayOrderListOutput>> GetLifePayRefundOrderPage(QueryLifePayRefundOrderListInput input) + { + return await _lifePayService.GetLifePayRefundOrderPage(input); } /// <summary> @@ -359,10 +370,17 @@ var bytes = ExcelHelper.ListToByteForExcel(data, "xlsx"); return File(bytes, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "璁㈠崟绠$悊" + ".xlsx"); } - return Json(default); } + [HttpGet] + public async Task<string> GetBillErceiptExport(string orderNo) + { + var data = await _lifePayService.GetBillErceiptExport(orderNo); + + return data; + } + #endregion #region 鎿嶄綔 -- Gitblit v1.9.1