using Dlhis.External.MealSupplement.Request; using Dlhis.External.MealSupplement.Services; using Microsoft.AspNetCore.Mvc; namespace Dlhis.External.MealSupplement.Controller; [Route("api/[controller]")] [ApiController] public class MealSupplementsController : ControllerBase { private readonly IMealSupplementService _mealSupplementService; public MealSupplementsController(IMealSupplementService mealSupplementService) { _mealSupplementService = mealSupplementService; } /// /// 接受餐补 /// /// [HttpPost("receive")] public async Task DoSupplements(List requests) { await _mealSupplementService.DoSupplementsAsync(requests); } }