using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Core.BaseController;
|
using WIDESEAWCS_DTO.TaskInfo;
|
using WIDESEAWCS_ISystemServices;
|
using WIDESEAWCS_ITaskInfoService;
|
using WIDESEAWCS_Model.Models;
|
using WIDESEAWCS_Model.Models.System;
|
|
namespace WIDESEAWCS_WCSServer.Controllers.System
|
{
|
[Route("api/OrderDetails")]
|
[ApiController]
|
public class OrderDetailsController : ApiBaseController<IOrderDetailsService, OrderDetails>
|
{
|
private readonly IHttpContextAccessor _httpContextAccessor;
|
public OrderDetailsController(IOrderDetailsService service, IHttpContextAccessor httpContextAccessor) : base(service)
|
{
|
_httpContextAccessor = httpContextAccessor;
|
}
|
|
[HttpPost,Route("ToMesBarc"), AllowAnonymous]
|
public bool ToMesBarc(int Barcodes)
|
{
|
return Service.ToMesBarc(Barcodes);
|
}
|
}
|
}
|