1
Huangxiaoqiang-03
2024-10-31 0bfe24ddf438636aeef8c1e6989d5c8c28b0bb1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_QuartzJob.Models;
using WIDESEAWCS_QuartzJob.Service;
 
namespace WIDESEAWCS_Server.Controllers.QuartzJob
{
    [Route("api/DeviceProtocol")]
    [ApiController]
    public class DeviceProtocolController : ApiBaseController<IDeviceProtocolService, Dt_DeviceProtocol>
    {
        public DeviceProtocolController(IDeviceProtocolService service) : base(service)
        {
        }
        [HttpPost, Route("GetImportData"), AllowAnonymous]
        public WebResponseContent GetImportData(List<IFormFile> fileInput)
        {
            return Service.GetImportData(fileInput);
        }
    }
}