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_ITaskInfoService;
|
using WIDESEAWCS_Model.Models;
|
|
|
namespace WIDESEAWCS_Server.Controllers.SerialPort
|
{
|
[Route("api/[controller]")]
|
[ApiController]
|
public class ArticleInfomController : ApiBaseController<IArticleInfomServer, Dt_ArticleInfom>
|
{
|
public ArticleInfomController(IArticleInfomServer service) : base(service)
|
{
|
}
|
|
//[HttpPost,Route("PossorArticl"),AllowAnonymous]
|
//public WebResponseContent PossorArticl()
|
//{
|
// return Service.PossorArticl();
|
//}
|
|
[HttpPost, Route("PutPossorArticl"), AllowAnonymous]
|
public WebResponseContent PutPossorArticl()
|
{
|
return Service.PutPossorArticl();
|
}
|
|
|
}
|
}
|