master
wangyuan 2019-08-16 14:09:13 +08:00
parent 06d25b00a2
commit a37ded8a97
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ public class GetServerListController extends HttpServlet {
String sub_channel = request.getParameter("sub_channel");
String plat = request.getParameter("plat");
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("sub_channel", sub_channel);
req.put("plat", plat);
@ -55,9 +55,9 @@ public class GetServerListController extends HttpServlet {
if (state == 0 ){
continue;
}
if (whiteList != null && state ==1){
/* if (whiteList != null && state ==1){
state = 2;
}
}*/
DBObject res = new BasicDBObject();
res.put("name", serverInfo.get("name"));
res.put("server_id", serverInfo.get("server_id"));