| | |
| | | package com.oying.modules.pc.category.rest; |
| | | |
| | | import com.oying.annotation.rest.AnonymousGetMapping; |
| | | import com.oying.modules.pc.category.converter.PlatformCategoryViewAssembler; |
| | | import com.oying.modules.pc.category.domain.PlatformCategory; |
| | | import com.oying.modules.pc.category.domain.enums.PlatformCategoryEnum; |
| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | private final PlatformCategoryService categoryService; |
| | | private final PlatformCategoryViewAssembler assembler; |
| | | |
| | | @GetMapping("/list") |
| | | @AnonymousGetMapping("/list") |
| | | @ApiOperation("查询平台类目") |
| | | //@PreAuthorize("@el.check('customer:platformCategory:list')") |
| | | public ResponseEntity<?> queryPlatformCategory() { |