public JsonResult CancelProduct(long id) { Result result = new Result { success = false, msg = "未知错误" }; List <long> ids = new List <long>(); if (id > 0) { ids.Add(id); _iDistributionService.CancelDistributionProduct(ids, curshopid); result = new Result { success = true, msg = "取消推广成功" }; } else { result = new Result { success = false, msg = "错误的商品编号" }; } return(Json(result)); }/// <summary>