generated from root/miduo_server
新增DNA渠道
parent
46a298ecc2
commit
c3032409e9
|
@ -59,7 +59,9 @@ public class GetServerListController extends HttpServlet {
|
||||||
if("F5_GW".equals(channel)){
|
if("F5_GW".equals(channel)){
|
||||||
channel = "F5";
|
channel = "F5";
|
||||||
}
|
}
|
||||||
|
if(channel.indexOf("DNA")!=-1){
|
||||||
|
channel = "DNA";
|
||||||
|
}
|
||||||
DBObject req = new BasicDBObject();
|
DBObject req = new BasicDBObject();
|
||||||
req.put("channel", channel);
|
req.put("channel", channel);
|
||||||
req.put("sub_channel", sub_channel);
|
req.put("sub_channel", sub_channel);
|
||||||
|
|
|
@ -111,6 +111,9 @@ public class GetUserController extends HttpServlet {
|
||||||
if(pid!= null && pid.equals("F5_GW")){
|
if(pid!= null && pid.equals("F5_GW")){
|
||||||
pid = "F5";
|
pid = "F5";
|
||||||
}
|
}
|
||||||
|
if(pid!= null && pid.indexOf("DNA")!=-1){
|
||||||
|
pid = "DNA";
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
boolean vertify = vertify(response, request, admin, platform, pid, openId, token);
|
boolean vertify = vertify(response, request, admin, platform, pid, openId, token);
|
||||||
if(!vertify){
|
if(!vertify){
|
||||||
|
|
Loading…
Reference in New Issue