/*
package com.tashow.cloud.system.controller.admin.prod;

import com.tashow.cloud.common.pojo.CommonResult;

import com.tashow.cloud.productapi.api.product.CategoryApi;
import com.tashow.cloud.productapi.api.product.dto.CategoryDto;
import jakarta.annotation.Resource;
import jakarta.annotation.security.PermitAll;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import java.util.List;

import static com.tashow.cloud.common.pojo.CommonResult.success;

@RestController
@RequestMapping("/category")
@Validated
public class CategoryController {

    @Resource
    private CategoryApi categoryService;

    */
/**
     * 获取菜单页面的表
     * @return
     *//*


    @GetMapping("/categoryList")
    @PermitAll
    public CommonResult<List<CategoryDto>> categoryList(@RequestParam(value = "grade", required = false) Integer grade,
                                                        @RequestParam(value = "categoryId", required = false) Long categoryId,
                                                        @RequestParam(value = "status", required = false) Integer status) {
       return success(categoryService.categoryList(grade, categoryId, status));
    }


}*/
