mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-30 01:46:18 +08:00
no message
This commit is contained in:
@@ -70,13 +70,18 @@ public class APIRouter extends HttpServlet {
|
|||||||
if (api == null) {
|
if (api == null) {
|
||||||
// resp.sendError(HttpServletResponse.SC_FORBIDDEN);
|
// resp.sendError(HttpServletResponse.SC_FORBIDDEN);
|
||||||
// obj = nodes;
|
// obj = nodes;
|
||||||
|
|
||||||
|
ClassPath path = ClassPath.from(getServletContext().getClassLoader());
|
||||||
obj = new Object[]{
|
obj = new Object[]{
|
||||||
Thread.currentThread().getContextClassLoader().toString(),
|
Thread.currentThread().getContextClassLoader().toString(),
|
||||||
getServletContext().getClassLoader().toString(),
|
getServletContext().getClassLoader().toString(),
|
||||||
getClass().getClassLoader().toString(),
|
getClass().getClassLoader().toString(),
|
||||||
getClass().getPackage().getName(),
|
getClass().getPackage().getName(),
|
||||||
API.class.getClassLoader().toString(),
|
API.class.getClassLoader().toString(),
|
||||||
CheckSession.class.getClassLoader().toString()
|
CheckSession.class.getClassLoader().toString(),
|
||||||
|
path.getResources().toString(),
|
||||||
|
path.getTopLevelClassesRecursive(getClass().getPackage().getName()),
|
||||||
|
path.getAllClasses()
|
||||||
};
|
};
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user