Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
8 years ago
Commit
b618a7cbdf40b7139cdab81a99181dec6d505a7b
1 parent
7f4615da
添加@ResponseBody,修改bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
monitor-ui-ctrl/src/main/java/com/ui/ctrl/CenterSwitchCtrl.java
monitor-ui-ctrl/src/main/java/com/ui/ctrl/CenterSwitchCtrl.java
View file @
b618a7c
...
...
@@ -106,6 +106,7 @@ public class CenterSwitchCtrl {
}
@RequestMapping
(
"/doExeAndCheck"
)
@ResponseBody
public
BaseResponse
doExeAndCheck
(
CenterSwitchModel
centerSwitchModel
){
BaseResponse
baseResponse
=
httpClient
.
defaultPost
(
HttpUriContants
.
CENTERSWITCH_SWITCH_CHECK
,
centerSwitchModel
,
BaseResponse
.
class
);
return
baseResponse
;
...
...
@@ -124,6 +125,7 @@ public class CenterSwitchCtrl {
}
@RequestMapping
(
"/checkStatus"
)
@ResponseBody
public
BaseResponse
checkStatus
(
CenterSwitchModel
centerSwitchModel
){
BaseResponse
baseResponse
=
httpClient
.
defaultPost
(
HttpUriContants
.
CENTERSWITCH_STATUS
,
centerSwitchModel
,
BaseResponse
.
class
);
return
baseResponse
;
...
...
Please
register
or
login
to post a comment