This commit is contained in:
张成
2026-04-16 14:01:52 +08:00
parent 7ef0c68ad1
commit df0aacc782
10 changed files with 531 additions and 22 deletions

View File

@@ -200,6 +200,18 @@ module.exports = (db) => {
type: Sequelize.DATE,
allowNull: true
},
is_delivered: {
comment: '是否已投递成功true 是false 否(含未投、失败、过滤)',
type: Sequelize.BOOLEAN,
allowNull: false,
defaultValue: false
},
deliver_failed_reason: {
comment: '未投递或投递失败原因(直接落库,不依赖连表)',
type: Sequelize.TEXT,
allowNull: true,
defaultValue: ''
},
chatStatus: {
comment: '聊天状态: none-未聊天, sent-已发送, replied-已回复',
type: Sequelize.STRING(20),