feat 日/月消费走势接口
This commit is contained in:
@@ -142,4 +142,24 @@ public class BalancesController : ControllerBase
|
||||
{
|
||||
return await _balanceService.GetConsumeNumberAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 消费走势
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("consumptiontrends")]
|
||||
public async Task<List<ConsumptionTrendResponse>> GetConsumptionTrendsAsync([FromQuery] ConsumptionTrendRequest request)
|
||||
{
|
||||
return await _balanceService.GetConsumptionTrendsAsync(request);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 餐补走势
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("supplementtrend")]
|
||||
public async Task<List<ConsumptionTrendResponse>> GetSupplementTrendsAsync([FromQuery] ConsumptionTrendRequest request)
|
||||
{
|
||||
return await _balanceService.GetSupplementTrendsAsync(request);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user