using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Warehouse.DAL.Report; namespace Warehouse.WebApi { public class ConfigWksController : ApiController { //机台号 ConfigWksDal DT = new ConfigWksDal(); [Route("api/ConfigWks/ConfigWks")] [HttpPost] public IHttpActionResult QueryInfo(dynamic para) { string area_code = para.area_code; var res = DT.ConfigWks(area_code); return Json(res); } } }