Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeAmosFireAutoSysRoot
Commits
f20eb243
Commit
f20eb243
authored
Feb 21, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
239ad420
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
PlanVisual3dController.java
.../amos/fas/business/controller/PlanVisual3dController.java
+4
-1
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/PlanVisual3dController.java
View file @
f20eb243
...
@@ -16,6 +16,9 @@ import org.springframework.web.bind.annotation.PathVariable;
...
@@ -16,6 +16,9 @@ import org.springframework.web.bind.annotation.PathVariable;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.HashMap
;
import
java.util.List
;
@RestController
@RestController
@RequestMapping
(
value
=
"/api/visual"
)
@RequestMapping
(
value
=
"/api/visual"
)
@Api
(
tags
=
"预案可视化API"
)
@Api
(
tags
=
"预案可视化API"
)
...
@@ -43,7 +46,7 @@ public class PlanVisual3dController extends BaseController {
...
@@ -43,7 +46,7 @@ public class PlanVisual3dController extends BaseController {
*/
*/
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"资源查询"
,
notes
=
"资源查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"资源查询"
,
notes
=
"资源查询"
)
@Authorization
(
ingore
=
true
)
@Authorization
(
ingore
=
true
)
@
Ge
tMapping
(
value
=
"/resource/{type}/list"
)
@
Reques
tMapping
(
value
=
"/resource/{type}/list"
)
public
CommonResponse
getResourceList
(
@ApiParam
(
value
=
"资源类型"
,
required
=
true
)
@PathVariable
String
type
){
public
CommonResponse
getResourceList
(
@ApiParam
(
value
=
"资源类型"
,
required
=
true
)
@PathVariable
String
type
){
return
planVisual3dService
.
getResourceListByType
(
type
);
return
planVisual3dService
.
getResourceListByType
(
type
);
}
}
...
...
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