private string setHuanBiaoState(HttpContext context) { Json jsonResult = new Json(); string state = context.Request["state"]; string orderno = context.Request["orderno"]; string biaoNum = context.Request["biaoNum"]; string macNum = context.Request["macNum"]; int result = ms.setHuanBiaoState(orderno, state, biaoNum, macNum); if (result > 0) { jsonResult.Success = true; jsonResult.Msg = "修改成功"; } else { jsonResult.Success = false; jsonResult.Msg = "修改失败"; } string strJson = JsonConvert.SerializeObject(jsonResult); return(strJson); }