fix: model auth

This commit is contained in:
archer
2023-04-08 11:57:13 +08:00
parent 33154a9c19
commit b7cd4dec89
2 changed files with 13 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ const ChatSchema = new Schema({
expiredTime: {
// 过期时间
type: Number,
default: Date.now()
default: () => new Date()
},
loadAmount: {
// 剩余加载次数