feat: 拆分文本账单结算

This commit is contained in:
archer
2023-03-25 23:02:55 +08:00
parent 02cee35a45
commit 75cf3d1e9f
17 changed files with 191 additions and 89 deletions

View File

@@ -10,7 +10,7 @@ const BillSchema = new Schema({
},
type: {
type: String,
enum: ['chat', 'generateData', 'return'],
enum: ['chat', 'splitData', 'return'],
required: true
},
modelName: {
@@ -20,8 +20,7 @@ const BillSchema = new Schema({
},
chatId: {
type: Schema.Types.ObjectId,
ref: 'chat',
required: true
ref: 'chat'
},
time: {
type: Date,