public JsonResult UpdateDisplaySequence(long id, int order) { if (order < 0) { return(Json(new { success = false, msg = "商品序号必须大于0!" })); } var result = ProductManagerApplication.UpdateDisplaySequence(id, order); return(Json(new { success = result, msg = "" })); }