自动封禁优化

master
mengchengzhen 2021-06-07 15:17:35 +08:00
parent bbe5069b77
commit 228c6063d3
1 changed files with 3 additions and 2 deletions

View File

@ -181,8 +181,8 @@ public class GameTitleController {
String skyEye(HttpServletRequest request,HttpSession session){
Map<String,String> map = new HashMap<>();
map.put("code","1");
map.put("message","");
if(verify(request,map)){
if(!verify(request,map)){
map.put("message","verify");
return JSON.toJSONString(map);
}
try {
@ -192,6 +192,7 @@ public class GameTitleController {
BaseHandler handler = ManagerManager.getInstance().getBaseHandler("gm");
if(handler.skyEyeExecute(jsonObject,session,map)){
map.put("code","0");
map.put("message","success");
}
} catch (Exception e) {
e.printStackTrace();