(no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
@ -9,6 +9,9 @@ from .stock import bp as stock_bp
|
|||||||
|
|
||||||
inbound_bp = Blueprint('inbound', __name__)
|
inbound_bp = Blueprint('inbound', __name__)
|
||||||
|
|
||||||
|
# 导入 service 模块以注册路由
|
||||||
|
from . import service
|
||||||
|
|
||||||
inbound_bp.register_blueprint(inbound_buy_bp, url_prefix='/buy')
|
inbound_bp.register_blueprint(inbound_buy_bp, url_prefix='/buy')
|
||||||
inbound_bp.register_blueprint(inbound_semi_bp, url_prefix='/semi')
|
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')
|
||||||
@ -17,4 +20,4 @@ inbound_bp.register_blueprint(inbound_summary_bp, url_prefix='/summary')
|
|||||||
|
|
||||||
# ★ [新增] 挂载 stock 模块,路径前缀为 /stock
|
# ★ [新增] 挂载 stock 模块,路径前缀为 /stock
|
||||||
# 最终访问路径例:/api/v1/inbound/stock/all
|
# 最终访问路径例:/api/v1/inbound/stock/all
|
||||||
inbound_bp.register_blueprint(stock_bp, url_prefix='/stock')
|
inbound_bp.register_blueprint(stock_bp, url_prefix='/stock')
|
||||||
|
|||||||
Reference in New Issue
Block a user