feat: new ui
This commit is contained in:
@@ -31,6 +31,10 @@ const ChatSchema = new Schema({
|
||||
type: String,
|
||||
default: '历史记录'
|
||||
},
|
||||
latestChat: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
content: {
|
||||
type: [
|
||||
{
|
||||
|
||||
@@ -16,6 +16,10 @@ const UserSchema = new Schema({
|
||||
get: (val: string) => hashPassword(val),
|
||||
select: false
|
||||
},
|
||||
avatar: {
|
||||
type: String,
|
||||
default: '/icon/human.png'
|
||||
},
|
||||
balance: {
|
||||
// 平台余额,不可提现
|
||||
type: Number,
|
||||
|
||||
Reference in New Issue
Block a user