物料-采购件入库页面功能实现
This commit is contained in:
14
inventory-backend/app/api/v1/inbound/__init__.py
Normal file
14
inventory-backend/app/api/v1/inbound/__init__.py
Normal file
@ -0,0 +1,14 @@
|
||||
from flask import Blueprint
|
||||
from .buy import inbound_buy_bp
|
||||
# 后续如果有 semi.py 或 product.py,在这里导入
|
||||
# from .semi import inbound_semi_bp
|
||||
|
||||
# 创建聚合蓝图
|
||||
inbound_bp = Blueprint('inbound', __name__)
|
||||
|
||||
# 挂载子模块。url_prefix 会进行路径拼接
|
||||
# 路径变为:/buy/...
|
||||
inbound_bp.register_blueprint(inbound_buy_bp, url_prefix='/buy')
|
||||
|
||||
# 后续扩展:
|
||||
# inbound_bp.register_blueprint(inbound_semi_bp, url_prefix='/semi')
|
||||
Reference in New Issue
Block a user