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
7 years ago
Commit
825b1025cf7dcb3151055ea897678cbe634ba44c
1 parent
b01fdafd
提供接口
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
monitor-ui-ctrl/src/main/java/com/ui/ctrl/OuterIntfCtrl.java
monitor-ui-ctrl/src/main/java/com/ui/ctrl/OuterIntfCtrl.java
View file @
825b102
...
...
@@ -41,7 +41,7 @@ public class OuterIntfCtrl {
@RequestMapping
(
"/recvMonitAlarm"
)
@ResponseBody
public
BaseResponse
recvMonitAlarm
(
@RequestBody
MonitAlarmInfo
info
){
BaseResponse
response
=
httpClient
.
defaultPost
(
"recvMonitAlarm"
,
info
,
BaseResponse
.
class
);
BaseResponse
response
=
httpClient
.
defaultPost
(
"
/
recvMonitAlarm"
,
info
,
BaseResponse
.
class
);
return
response
;
}
...
...
@@ -57,7 +57,7 @@ public class OuterIntfCtrl {
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"info"
,
info
);
map
.
put
(
"mobiles"
,
mobiles
);
BaseResponse
response
=
httpClient
.
defaultGet
(
"recvMonitAlarmInfo"
,
BaseResponse
.
class
,
map
);;
BaseResponse
response
=
httpClient
.
defaultGet
(
"
/
recvMonitAlarmInfo"
,
BaseResponse
.
class
,
map
);;
return
response
;
}
...
...
@@ -69,7 +69,7 @@ public class OuterIntfCtrl {
@RequestMapping
(
"/writeMipsObjToOpsReids"
)
@ResponseBody
public
void
writeMipsObjToOpsReids
(
@RequestBody
String
ipsObjs
)
{
httpClient
.
defaultPostJson
(
"maliciousIp/writeMipsObjToOpsReids"
,
ipsObjs
,
String
.
class
);
httpClient
.
defaultPostJson
(
"
/
maliciousIp/writeMipsObjToOpsReids"
,
ipsObjs
,
String
.
class
);
}
/**
...
...
@@ -80,7 +80,7 @@ public class OuterIntfCtrl {
@RequestMapping
(
"/writeMipsInfoToOpsDb"
)
@ResponseBody
public
void
writeMipsInfoToOpsDb
(
@RequestBody
String
ipsObjs
)
{
httpClient
.
defaultPostJson
(
"maliciousIp/writeMipsInfoToOpsDb"
,
ipsObjs
,
String
.
class
);
httpClient
.
defaultPostJson
(
"
/
maliciousIp/writeMipsInfoToOpsDb"
,
ipsObjs
,
String
.
class
);
}
}
...
...
Please
register
or
login
to post a comment