| | |
| | | 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> |