package com.ruoyi.web.modules.category.service;

import java.util.List;
import com.ruoyi.web.modules.category.domain.BizGoodsCategory;
import com.ruoyi.web.modules.category.vo.CategoryLevel2OptionVO;
import com.ruoyi.web.modules.category.vo.CategoryRowVO;
import com.ruoyi.web.modules.category.vo.CategoryScopeVO;
import com.ruoyi.web.modules.category.vo.CategoryTreeResultVO;

/**
 * 平台端商品分类 Service（shop_id 为 NULL）
 */
public interface IPlatformCategoryService
{
    List<CategoryRowVO> selectPlatformCategoryRowList(String keyword);

    CategoryTreeResultVO selectPlatformCategoryTree(String keyword);

    List<BizGoodsCategory> selectPlatformLevel1Options();

    List<CategoryLevel2OptionVO> selectPlatformLevel2Options();

    int insertPlatformCategory(BizGoodsCategory category);

    int updatePlatformCategory(BizGoodsCategory category);

    void deletePlatformCategoryByIds(Long[] categoryIds, String operator);
}
