using WIDESEA_DTO; 
 | 
  
 | 
namespace WIDESEA_WMSServer.Controllers; 
 | 
  
 | 
[Route("api/LocationInfo")] 
 | 
[ApiController] 
 | 
public class LocationInfoController : ApiBaseController<ILocationInfoService, DtLocationInfo> 
 | 
{ 
 | 
    public LocationInfoController(ILocationInfoService service) : base(service) 
 | 
    { 
 | 
    } 
 | 
  
 | 
    /// <summary> 
 | 
    /// 创建原始货位 
 | 
    /// </summary> 
 | 
    /// <param name="x">行</param> 
 | 
    /// <param name="y">列</param> 
 | 
    /// <param name="z">层</param> 
 | 
    /// <param name="locType">货位类型(1、单深,2、双深)</param> 
 | 
    /// <param name="areaId">区域主键</param> 
 | 
    /// <returns></returns> 
 | 
    [HttpPost, AllowAnonymous, Route("CreateLocation")] 
 | 
    public WebResponseContent CreateLocation(int x, int y, int z, int locType, int areaId) 
 | 
    { 
 | 
        return Service.CreateLocation(x, y, z, locType, areaId); 
 | 
    } 
 | 
} 
 |