from flask_sqlalchemy import SQLAlchemy from flask_marshmallow import Marshmallow # 初始化数据库和序列化工具 db = SQLAlchemy() ma = Marshmallow()