2
huangxiaoqiang
2025-03-06 319c4fe3fb3656ba33903d8c9364ae3d548dd038
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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/DispatchInfo")]
    [ApiController]
    public class DispatchInfoController : ApiBaseController<IDispatchInfoService, Dt_DispatchInfo>
    {
        private readonly IDispatchInfoService _dispatchInfoService;
        public DispatchInfoController(IDispatchInfoService service, IDispatchInfoService dispatchInfoService) : base(service)
        {
            _dispatchInfoService = dispatchInfoService;
        }
 
        [HttpGet("GetDispatchInfosAsync"),AllowAnonymous]
        public Task<WebResponseContent> GetDispatchInfosAsync()
        {
            return _dispatchInfoService.GetDispatchInfosAsync();
        }
    }
}