public IHttpActionResult Test() { if (!ModelState.IsValid) { return(BadRequest()); } //string result = "Success"; string result = new DistributeArriveExecutor().Test(); return(Ok(result)); }
public IHttpActionResult agvCallback([FromBody] JObject reqInfo) { if (!ModelState.IsValid) { return(BadRequest()); } IDistributeArriveExecutor service = new DistributeArriveExecutor(); string result = service.DistributeArriveHandle(reqInfo); return(Ok(result)); }