Skip to content

Commit

Permalink
security
Browse files Browse the repository at this point in the history
  • Loading branch information
msecowner authored Jun 29, 2018
1 parent c10b90f commit 784cacf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions msec_console/src/beans/service/DownloadAlarmChart.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ public class DownloadAlarmChart extends JsonRPCHandler {
public AlarmResponse exec(Alarm request)
{
Logger logger = Logger.getLogger(DownloadAlarmChart.class);

String result = checkIdentity();
if (!result.equals("success"))
{
return null;
}

try {
//请求数据,生成图片
Expand Down

0 comments on commit 784cacf

Please sign in to comment.