新增DNA渠道

main
grimm 2025-09-12 10:04:55 +08:00
parent 46a298ecc2
commit c3032409e9
2 changed files with 6 additions and 1 deletions

View File

@ -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);

View File

@ -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){