Sequelize 那些事 Posted on 2017-09-22 | Edited on 2018-10-17 | In Node some description 不返回 password直接覆盖 toJSON 方法. 123456789sequelize.define('user', attributes, { instanceMethods: { toJSON: function () { var values = Object.assign({}, this.get()); delete values.password; return values; } }}); 参考: stackoverflow