Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ff391fee
authored
Oct 21, 2025
by
Jony.L
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户端算力资源分类接口取消鉴权
parent
d740f4f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/controller/app/resourcecategory/AppResourceCategoryController.java
+3
-0
No files found.
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/controller/app/resourcecategory/AppResourceCategoryController.java
View file @
ff391fee
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment