Files
KCGL/inventory-backend/app/api/v1/inbound/__init__.py

14 lines
543 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from flask import Blueprint
from .buy import inbound_buy_bp
from .semi import inbound_semi_bp
from .base import inbound_base_bp
# 导入 product
from .product import inbound_product_bp
inbound_bp = Blueprint('inbound', __name__)
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_base_bp, url_prefix='/base')
# 挂载 product前缀改为 /product
inbound_bp.register_blueprint(inbound_product_bp, url_prefix='/product')