from flask_sqlalchemy import SQLAlchemy # 创建共享的SQLAlchemy实例 db = SQLAlchemy()