| | |
| | | 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; |
| | | } |
| | |
| | | [AllowAnonymous] |
| | | public async Task<TopStatisticsOutput> GetTopStatistics() |
| | | { |
| | | return await _lifePayService.GetTopStatistics(); |
| | | return await _statisticsService.GetTopStatistics(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取订单分页数据 |
| | | /// 获取退款订单分页数据 |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | |
| | | var bytes = ExcelHelper.ListToByteForExcel(data, "xlsx"); |
| | | return File(bytes, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "订单管理" + ".xlsx"); |
| | | } |
| | | |
| | | return Json(default); |
| | | } |
| | | |
| | |
| | | public async Task<string> GetBillErceiptExport(string orderNo) |
| | | { |
| | | var data = await _lifePayService.GetBillErceiptExport(orderNo); |
| | | |
| | | |
| | | return data; |
| | | } |