mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-28 23:55:04 +08:00
no message
This commit is contained in:
@@ -37,7 +37,7 @@ public class APIRouter extends HttpServlet {
|
||||
|
||||
public APIRouter() {
|
||||
try {
|
||||
ClassPath path = ClassPath.from(getClass().getClassLoader());
|
||||
ClassPath path = ClassPath.from(API.class.getClassLoader());
|
||||
Set<ClassPath.ClassInfo> classes = path.getTopLevelClassesRecursive(getClass().getPackage().getName());
|
||||
for (ClassPath.ClassInfo info : classes) {
|
||||
Class<?> clz = info.load();
|
||||
|
||||
Reference in New Issue
Block a user