问题描述 AttributeError: ‘function’ object has no attribute ‘send’ @bp.route("/mail") def mail(): message = Message( subject='邮箱测试'