Showing
1 changed file
with
1 additions
and
1 deletions
@@ -378,7 +378,7 @@ public class OuterIntfCtrl { | @@ -378,7 +378,7 @@ public class OuterIntfCtrl { | ||
378 | @ResponseBody | 378 | @ResponseBody |
379 | public boolean checkOrderToken4Opsmanage(String token) { | 379 | public boolean checkOrderToken4Opsmanage(String token) { |
380 | boolean pass=false; | 380 | boolean pass=false; |
381 | - if (OrderTokenConstant.orderTokens.contains(token)){ | 381 | + if (StringUtils.isNotBlank(token)&&OrderTokenConstant.orderTokens.contains(token)){ |
382 | pass=true; | 382 | pass=true; |
383 | OrderTokenConstant.orderTokens.remove(token); | 383 | OrderTokenConstant.orderTokens.remove(token); |
384 | } | 384 | } |
-
Please register or login to post a comment