Example #1
0
        /// <summary>
        /// 商品关键词列表
        /// </summary>
        public ActionResult ProductKeywordList(int pid = -1)
        {
            PartProductInfo partProductInfo = AdminProducts.AdminGetPartProductById(pid);

            if (partProductInfo == null)
            {
                return(PromptView("商品不存在"));
            }

            ProductKeywordListModel model = new ProductKeywordListModel()
            {
                ProductKeywordList = Searches.GetProductKeywordList(pid),
                Pid = pid
            };

            ViewData["referer"] = MallUtils.GetMallAdminRefererCookie();
            return(View(model));
        }