刘磊
2025-11-11 6fed1f731b16c1820a43fc34130a70b21465e2bb
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
28
29
30
31
32
33
using AutoMapper.Configuration.Annotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO;
using WIDESEA_IStoragIntegrationServices;
 
namespace WIDESEA_WMSServer.Controllers;
 
[Route("api/[controller]")]
[ApiController]
public class MCSController : Controller
{
    private readonly IMCSService _MCSService;
    private readonly IHttpContextAccessor _httpContextAccessor;
 
    public MCSController(IMCSService MCSService, IHttpContextAccessor httpContextAccessor)
    {
        _httpContextAccessor = httpContextAccessor; 
        _MCSService = MCSService;
    }
 
    /// <summary>
    /// 分容库位同步
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    [HttpPost, Route("ModifyAccessStatus"), AllowAnonymous]
    public WebResponseContent ModifyAccessStatus([FromBody] object input)
    {
        return _MCSService.ModifyAccessStatus(input);
    }
}