Administrator
2025-05-26 2c4c080fc6e90d8c92355d779372cd24ae67b02e
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
34
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Model.ModelDto.SysDto;
using Model.ModelVm.SysVm;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Utility;
using WMS.IBLL.ISysServer;
 
namespace Wms.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    [Authorize]
    [ServiceFilter(typeof(ApiResponseActionFilter))]
    public class BordController : ControllerBase
    {
 
        private readonly IStorageLocatServer _locatSvc; //储位
 
        public BordController(IStorageLocatServer locatSvc)
        {
            _locatSvc = locatSvc; //储位
        }
 
        [HttpGet]
        public async Task<BordModelVM> GetSlotVm(string layer)
        {
            return await _locatSvc.GetFlatLegend("W01",Convert.ToInt32(layer));
        }
 
    }
}