分模候选方案
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ app.mount("/html", StaticFiles(directory=html_output_dir), name="html")
|
||||
app.include_router(auth_router)
|
||||
app.include_router(inventory_router)
|
||||
try:
|
||||
from api.routes import router as moldinsight_router
|
||||
from api.v1 import router as moldinsight_router
|
||||
except Exception as e:
|
||||
moldinsight_router = None
|
||||
print(f"[WARN] MoldInsight路由未加载: {e}")
|
||||
|
||||
Reference in New Issue
Block a user