api文件夹移到应用根目录,删除core文件夹

This commit is contained in:
jingrow 2025-10-25 01:35:29 +08:00
parent e96cef021d
commit 3636194a17
12 changed files with 1 additions and 9 deletions

View File

@ -1,7 +0,0 @@
# Copyright (c) 2025, JINGROW and contributors
# For license information, please see license.txt
"""
Jingrow Local 核心功能
SaaS 版完全一致的核心实现
"""

View File

@ -1 +0,0 @@
# Routes module

View File

@ -59,7 +59,7 @@ def create_app():
)
# 自动注册 Jingrow 框架的静态路由
include_routers_from_package(app, "jingrow.core.api", prefix="/jingrow")
include_routers_from_package(app, "jingrow.api", prefix="/jingrow")
# 手动注册动态路由(最后注册,避免冲突)
app.include_router(router, prefix="/jingrow")