generated from root/miduo_server
自动封禁优化
parent
bbe5069b77
commit
228c6063d3
|
|
@ -181,8 +181,8 @@ public class GameTitleController {
|
||||||
String skyEye(HttpServletRequest request,HttpSession session){
|
String skyEye(HttpServletRequest request,HttpSession session){
|
||||||
Map<String,String> map = new HashMap<>();
|
Map<String,String> map = new HashMap<>();
|
||||||
map.put("code","1");
|
map.put("code","1");
|
||||||
map.put("message","");
|
if(!verify(request,map)){
|
||||||
if(verify(request,map)){
|
map.put("message","verify");
|
||||||
return JSON.toJSONString(map);
|
return JSON.toJSONString(map);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
@ -192,6 +192,7 @@ public class GameTitleController {
|
||||||
BaseHandler handler = ManagerManager.getInstance().getBaseHandler("gm");
|
BaseHandler handler = ManagerManager.getInstance().getBaseHandler("gm");
|
||||||
if(handler.skyEyeExecute(jsonObject,session,map)){
|
if(handler.skyEyeExecute(jsonObject,session,map)){
|
||||||
map.put("code","0");
|
map.put("code","0");
|
||||||
|
map.put("message","success");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue