Exemple #1
0
        public JsonResult QueryProduct(string productCodeOrBarCode)
        {
            var model = _productQuery.QueryPriceTag(productCodeOrBarCode);

            if (model == null)
            {
                throw new Exception("商品不存在");
            }
            return(Json(new { success = true, data = model }));
        }