master
xuexinpeng 2021-12-02 15:04:57 +08:00
parent b3c5882788
commit 99d6317057
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ public class GetServerListController extends HttpServlet {
String sub_channel = request.getParameter("sub_channel"); String sub_channel = request.getParameter("sub_channel");
String server_version = request.getParameter("server_version"); String server_version = request.getParameter("server_version");
String plat = request.getParameter("plat"); String plat = request.getParameter("plat");
if(channel.equals("QUICK2")){
channel ="QUICK";
}
if (StringUtils.checkIsEmpty(openId) || StringUtils.checkIsEmpty(channel) || if (StringUtils.checkIsEmpty(openId) || StringUtils.checkIsEmpty(channel) ||
StringUtils.checkIsEmpty(sub_channel) || StringUtils.checkIsEmpty(plat) || StringUtils.checkIsEmpty(server_version)) { StringUtils.checkIsEmpty(sub_channel) || StringUtils.checkIsEmpty(plat) || StringUtils.checkIsEmpty(server_version)) {
response.sendError(400, "parm is wrong"); response.sendError(400, "parm is wrong");