mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-30 01:46:18 +08:00
no message
This commit is contained in:
@@ -19,6 +19,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
@@ -70,7 +71,12 @@ public class APIRouter extends HttpServlet {
|
|||||||
try {
|
try {
|
||||||
API api = nodes.get(req.getRequestURI().substring(PROJECT_PATH.length()));
|
API api = nodes.get(req.getRequestURI().substring(PROJECT_PATH.length()));
|
||||||
if (api == null) {
|
if (api == null) {
|
||||||
resp.sendError(HttpServletResponse.SC_FORBIDDEN);
|
// resp.sendError(HttpServletResponse.SC_FORBIDDEN);
|
||||||
|
obj = Arrays.asList(
|
||||||
|
req.getContextPath(),
|
||||||
|
req.getPathInfo(),
|
||||||
|
req.getPathTranslated(),
|
||||||
|
req.getServletPath());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
WxSession session = getSession(req);
|
WxSession session = getSession(req);
|
||||||
|
|||||||
Reference in New Issue
Block a user