/// <summary> /// 保存商品 /// </summary> /// <param name="productInfo"></param> /// <param name="isRelease"></param> /// <returns></returns> public JsonResult BarCodeRepeat(string barcode, string spu) { var result = false; try { result = bll.IsBarCodeRepeat(barcode, spu); return(Json(new { data = result, msg = "驗證成功" })); } catch (Exception ex) { LogHelper.Error(ex); return(Json(new { data = result, msg = "驗證失败" })); } }