api文件夹移到应用根目录,删除core文件夹
This commit is contained in:
parent
e96cef021d
commit
3636194a17
@ -1,7 +0,0 @@
|
|||||||
# Copyright (c) 2025, JINGROW and contributors
|
|
||||||
# For license information, please see license.txt
|
|
||||||
|
|
||||||
"""
|
|
||||||
Jingrow Local 核心功能
|
|
||||||
与 SaaS 版完全一致的核心实现
|
|
||||||
"""
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# Routes module
|
|
||||||
@ -59,7 +59,7 @@ def create_app():
|
|||||||
)
|
)
|
||||||
|
|
||||||
# 自动注册 Jingrow 框架的静态路由
|
# 自动注册 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")
|
app.include_router(router, prefix="/jingrow")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user