/// <summary>
        /// 编辑分类控件
        /// </summary>
        /// <param name="categoryId"></param>
        /// <param name="level"></param>
        /// <returns></returns>
        public IActionResult _EditCategoryLevel(int categoryId, CategoryLevel level)
        {
            ViewBag.SubjectTitle = "商品分类编辑";
            CategoryLevelModel model = new CategoryLevelModel();

            if (level == CategoryLevel.Level1)
            {
                model.ToCategoryLevel1Model(goodsCategoryLevelService.GetCategoryLevel1(categoryId));
            }
            else
            {
                model.ToCategoryLevel2Model(goodsCategoryLevelService.GetCategoryLevel2(categoryId));
                model.ParentCategoryName = goodsCategoryLevelService.GetCategoryLevel1(model.ParentCategoryId.Value).CategoryName;
            }
            return(View(model));
        }
        /// <summary>
        /// 查看分类详情控件
        /// </summary>
        /// <param name="categoryId"></param>
        /// <param name="level"></param>
        /// <returns></returns>
        public IActionResult _DetailsCategoryLevel(int categoryId, CategoryLevel level)
        {
            CategoryLevelModel model = new CategoryLevelModel();

            if (level == CategoryLevel.Level1)
            {
                model.ToCategoryLevel1Model(goodsCategoryLevelService.GetCategoryLevel1(categoryId));
            }
            else
            {
                model.ToCategoryLevel2Model(goodsCategoryLevelService.GetCategoryLevel2(categoryId));
                model.ParentCategoryName = goodsCategoryLevelService.GetCategoryLevel1(model.ParentCategoryId.Value).CategoryName;
            }

            return(View(model));
        }