generated from root/miduo_server
delete
parent
06d25b00a2
commit
a37ded8a97
|
|
@ -40,7 +40,7 @@ public class GetServerListController extends HttpServlet {
|
||||||
String sub_channel = request.getParameter("sub_channel");
|
String sub_channel = request.getParameter("sub_channel");
|
||||||
String plat = request.getParameter("plat");
|
String plat = request.getParameter("plat");
|
||||||
DBObject req = new BasicDBObject();
|
DBObject req = new BasicDBObject();
|
||||||
DBObject whiteList = BaseGlobal.getInstance().mongoDBPool.findOne(_WHITE_LIST,openId);
|
//DBObject whiteList = BaseGlobal.getInstance().mongoDBPool.findOne(_WHITE_LIST,openId);
|
||||||
req.put("channel", channel);
|
req.put("channel", channel);
|
||||||
req.put("sub_channel", sub_channel);
|
req.put("sub_channel", sub_channel);
|
||||||
req.put("plat", plat);
|
req.put("plat", plat);
|
||||||
|
|
@ -55,9 +55,9 @@ public class GetServerListController extends HttpServlet {
|
||||||
if (state == 0 ){
|
if (state == 0 ){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (whiteList != null && state ==1){
|
/* if (whiteList != null && state ==1){
|
||||||
state = 2;
|
state = 2;
|
||||||
}
|
}*/
|
||||||
DBObject res = new BasicDBObject();
|
DBObject res = new BasicDBObject();
|
||||||
res.put("name", serverInfo.get("name"));
|
res.put("name", serverInfo.get("name"));
|
||||||
res.put("server_id", serverInfo.get("server_id"));
|
res.put("server_id", serverInfo.get("server_id"));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue