using BPA.KitChen.GroupMeal.Application.BaseDto; using BPA.KitChen.GroupMeal.Application.Service.Device.Dtos; using BPA.KitChen.GroupMeal.Application.Service.Device.Services; using Furion.DynamicApiController; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.SAAS.KitChenManage.Application.Device { [ApiDescriptionSettings("DevicePushRecode", Tag = "设备下发")] public class DevicePushRecodeServices: IDynamicApiController { IDevicePushRecodeService _devicePushRecodeService; public DevicePushRecodeServices(IDevicePushRecodeService devicePushRecodeService) { _devicePushRecodeService= devicePushRecodeService; } /// /// 分页 /// /// /// [HttpPost("/api/devicepushrecode/page")] public async Task Page(DevicePushRecodeDtoPageInput input) { return await _devicePushRecodeService.Page(input); } /// /// 添加 /// /// /// [HttpPost("/api/devicepushrecode/add")] public async Task Add(DevicePushRecodeDtoInput input) { return await _devicePushRecodeService.Add(input); } /// /// 修改 /// /// /// [HttpGet("/api/devicepushrecode/update")] public async Task Update(string id) { return await _devicePushRecodeService.Update(id); } /// /// 删除 /// /// /// [HttpPost("/api/devicepushrecode/delete")] public async Task Delete(List input) { return await _devicePushRecodeService.Delete(input); } } }