| | |
| | | using LifePayment.Application.Contracts; |
| | | using LifePayment.Application.LifePay; |
| | | using LifePayment.Domain.Common; |
| | | using LifePayment.Domain.Shared; |
| | | using Microsoft.AspNetCore.Authorization; |
| | |
| | | private readonly IStatisticsService _statisticsService; |
| | | private readonly IWebClientInfoProvider _webClientInfoProvider; |
| | | private readonly ICommonService _commonService; |
| | | private readonly ILifePayOrderService _lifePayOrderService; |
| | | private readonly ILogger<LifePayController> _logger; |
| | | public LifePayController( |
| | | ILifePayService lifePayService, |
| | | IStatisticsService statisticsService, |
| | | IWebClientInfoProvider webClientInfoProvider, |
| | | ICommonService commonService |
| | | , ILogger<LifePayController> logger |
| | | ICommonService commonService, |
| | | ILifePayOrderService lifePayOrderService, |
| | | ILogger<LifePayController> logger |
| | | ) |
| | | { |
| | | _lifePayService = lifePayService; |
| | | _statisticsService = statisticsService; |
| | | _webClientInfoProvider = webClientInfoProvider; |
| | | _commonService = commonService; |
| | | _lifePayOrderService = lifePayOrderService; |
| | | _logger = logger; |
| | | } |
| | | |
| | |
| | | |
| | | return data; |
| | | } |
| | | /// <summary> |
| | | /// 获取充值流水分页数据 |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | public async Task<PageOutput<LifePayRechargeReceiptsListOutput>> GetLifePayRechargeReceiptsPage(LifePayRechargeReceiptsPageInput input) |
| | | { |
| | | return await _lifePayOrderService.GetLifePayRechargeReceiptsPage(input); |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | |
| | |
| | | return Constant.SUCCESS; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 上传充值流水 |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | public async Task<int> AddUpdatePayRechargeReceipts(AddUpdatePayRechargeReceiptsInput input) |
| | | { |
| | | await _lifePayOrderService.AddUpdatePayRechargeReceipts(input); |
| | | return Constant.SUCCESS; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置生活缴费支付类型 |