Commit ff391fee by Jony.L

客户端算力资源分类接口取消鉴权

parent d740f4f5
......@@ -10,6 +10,8 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.annotation.security.PermitAll;
import org.springframework.validation.annotation.Validated;
import java.util.List;
......@@ -26,6 +28,7 @@ public class AppResourceCategoryController {
private ResourceCategoryService resourceCategoryService;
@GetMapping("/list")
@PermitAll
@Operation(summary = "获得算力资源分类列表")
public CommonResult<List<AppResourceCategoryRespVO>> getResourceCategoryList() {
return success(BeanUtils.toBean(resourceCategoryService.getAllCategory(), AppResourceCategoryRespVO.class));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment