(no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
@ -9,6 +9,7 @@ from .semi import inbound_semi_bp
|
|||||||
from .base import inbound_base_bp
|
from .base import inbound_base_bp
|
||||||
from .product import inbound_product_bp
|
from .product import inbound_product_bp
|
||||||
from .inbound_summary import bp as inbound_summary_bp
|
from .inbound_summary import bp as inbound_summary_bp
|
||||||
|
from .stock import bp as inbound_stock_bp
|
||||||
|
|
||||||
# 导入 service 模块,使其路由装饰器可以正常注册到 inbound_bp 上
|
# 导入 service 模块,使其路由装饰器可以正常注册到 inbound_bp 上
|
||||||
from . import service
|
from . import service
|
||||||
@ -19,5 +20,6 @@ inbound_bp.register_blueprint(inbound_semi_bp, url_prefix='/semi')
|
|||||||
inbound_bp.register_blueprint(inbound_base_bp, url_prefix='/base')
|
inbound_bp.register_blueprint(inbound_base_bp, url_prefix='/base')
|
||||||
inbound_bp.register_blueprint(inbound_product_bp, url_prefix='/product')
|
inbound_bp.register_blueprint(inbound_product_bp, url_prefix='/product')
|
||||||
inbound_bp.register_blueprint(inbound_summary_bp, url_prefix='/summary')
|
inbound_bp.register_blueprint(inbound_summary_bp, url_prefix='/summary')
|
||||||
|
inbound_bp.register_blueprint(inbound_stock_bp, url_prefix='/stock')
|
||||||
|
|
||||||
# service 模块的路由已经直接附加到 inbound_bp,无需再注册子蓝图
|
# service 模块的路由已经直接附加到 inbound_bp,无需再注册子蓝图
|
||||||
|
|||||||
Reference in New Issue
Block a user