feat 查询消费机总数、离线设备数量、营业点数量、可消费人数、人均日消费额

This commit is contained in:
cheche
2024-02-22 14:04:01 +08:00
parent 8e43cf36e8
commit b5d6ec8366
6 changed files with 81 additions and 7 deletions

View File

@@ -132,4 +132,14 @@ public class BalancesController : ControllerBase
{
return await _balanceService.BalanceRecordAnalysisAsync(request);
}
/// <summary>
/// 获取消费机总数、离线设备数量、营业点数量、可消费人数、人均日消费额
/// </summary>
/// <returns></returns>
[HttpGet("consumenumbers")]
public async Task<ConsumeNumberResponse> GetConsumeNumberAsync()
{
return await _balanceService.GetConsumeNumberAsync();
}
}