<reponame>aierweisi/yiyou<gh_stars>1-10
from .main import main
#from .user import user


# 蓝本配置
DEFAULT_BLUEPRINT = (
    # 蓝本，前缀
    (main, ''),
    # (user, '/user'),
)


# 封装函数，完成蓝本注册
def config_blueprint(app):
    for blueprint, prefix in DEFAULT_BLUEPRINT:
        app.register_blueprint(blueprint, url_prefix=prefix)
from .main import main
#from .user import user


# 蓝本配置
DEFAULT_BLUEPRINT = (
    # 蓝本，前缀
    (main, ''),
    # (user, '/user'),
)


# 封装函数，完成蓝本注册
def config_blueprint(app):
    for blueprint, prefix in DEFAULT_BLUEPRINT:
        app.register_blueprint(blueprint, url_prefix=prefix)
#from .user import user # 蓝本配置 # 蓝本，前缀 # (user, '/user'), # 封装函数，完成蓝本注册