From 7a540f529d2c9a541993bc9818cad9c9093fec91 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 03 十二月 2025 11:04:35 +0800
Subject: [PATCH] fix: bug
---
LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diff --git a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs
index f060b43..3d5a3e4 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs
@@ -15,6 +15,7 @@
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.WebClientInfo;
using ZeroD.Util;
+using ZeroD.Util.Fadd;
namespace LifePayment.HttpApi
{
@@ -158,6 +159,18 @@
public async Task<PhoneParValueResponse> GetPhoneParValue(ChannelsBaseInput input)
{
return await _lifePayService.GetPhoneParValue();
+ }
+
+ /// <summary>
+ /// 璇濊垂璁㈠崟鏌ヨ
+ /// </summary>
+ /// <param name="input"></param>
+ /// <returns></returns>
+ [HttpPost]
+ [AllowAnonymous]
+ public async Task<QueryPhoneOrderResponse> QueryPhoneOrder(QueryPhoneOrderRequestInput input)
+ {
+ return await _lifePayService.QueryPhoneOrder(input);
}
/// <summary>
@@ -361,7 +374,7 @@
/// <summary>
/// 鑾峰彇鍏ㄩ儴缂磋垂娓犻亾
/// </summary>
- [HttpGet]
+ [HttpPost]
public async Task<List<CreateEditPayChannelsInput>> GetLifePayChannlesAllList(QueryLifePayChannlesInput input)
{
return await _lifePayService.GetLifePayChannlesAllList(input);
@@ -458,6 +471,23 @@
}
/// <summary>
+ /// 瀵煎嚭娓犻亾璁㈠崟Excel
+ /// </summary>
+ /// <param name="input"></param>
+ /// <returns></returns>
+ [HttpPost]
+ public async Task<ActionResult> GetLifePayOrderPageExportForChannle(QueryLifePayOrderListInput input)
+ {
+ var data = await _lifePayService.GetLifePayOrderPageExportForChannle(input);
+ if (data.Any())
+ {
+ var bytes = ExcelHelper.ListToByteForExcel(data, "xlsx");
+ return File(bytes, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "璁㈠崟绠$悊" + ".xlsx");
+ }
+ return Json(default);
+ }
+
+ /// <summary>
/// 瀵煎嚭閫�娆捐鍗旹xcel
/// </summary>
/// <param name="input"></param>
--
Gitblit v1.9.1