The javaweb project, modifying the interface of app, has been blocked. How to debug the interface?

clipboard.png

clipboard.png

            if(requestURI.contains("/app/") && (requestURI.contains("/mbr") || requestURI.contains("/detail/det"))){
                     String token = req.getParameter("session_token");
                     //if(null == CacheUtil.getElement("session_token", token)){
                         if(null == token || "".equals(token)){
                         String data = "{\"code\":414,\"msg\":\"\"}";
                         PrintWriter writer = response.getWriter();
                         writer.print(data);
                         writer.close();
                         return;
                     }
                     Object result = session.access(token);
                    if (result instanceof AppSessionBean) {
                        AppSessionBean sessionBean = (AppSessionBean) result;
                        req.getSession().setAttribute("userData",sessionBean.getSession());
                        req.getSession().setAttribute("userId",sessionBean.getUserId());
                    } else {
                        Map json = (result instanceof Map) ? (Map) result : MapUtil.array2Map((Object[][]) result);
                        if(requestURI.contains("/wap/app/mbr/index")) {
                            json.put("code", 414);
                        }
                        String data = "{\"code\":"+json.get("code")+",\"msg\":\""+json.get("msg")+"\"}";
                        PrintWriter writer = response.getWriter();
                         writer.print(data);
                         writer.close();
                        return;
                    }
                 }
Mar.14,2021

is it because one / is missing?


for direct browser access, log in first and then debug other interfaces. If you use other tools, just log in in the browser and bring your token with you


if(null == token || "".equals(token)){
   String data = "{\"code\":414,\"msg\":\"\"
};
tokenpostManhead`session_token`
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5618c-446db.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5618c-446db.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?