Browse Source

加个渠道

master
nili 6 months ago
parent
commit
0f4a1290bc
  1. 6
      game-web/src/main/java/awesome/group/game/web/RequestContext.java

6
game-web/src/main/java/awesome/group/game/web/RequestContext.java

@ -62,6 +62,12 @@ public class RequestContext {
if (serverName.equalsIgnoreCase("localhost")) {
return "qiji";
}
if(serverName.startsWith("luigi")) {
return "qiji";
}
if(serverName.equalsIgnoreCase("www.maitiancom.com")) {
return "lihao";
}
int port = request.getServerPort();
switch (port) {
case 80:

Loading…
Cancel
Save