feat:裁剪
This commit is contained in:
@@ -20,34 +20,16 @@ const UserSchema = new mongoose.Schema({
|
||||
inviter: {
|
||||
type: String,
|
||||
},
|
||||
gender: {
|
||||
type: String
|
||||
},
|
||||
asset: {
|
||||
type: {},
|
||||
default: {
|
||||
log: 0, //充值的log
|
||||
profit: 0 // 买卖地皮赚到的
|
||||
}
|
||||
},
|
||||
tokenAddress: {
|
||||
type: {},
|
||||
default: {
|
||||
'usdtBTC': '',
|
||||
'usdtETH': '',
|
||||
'usdtTRX': ''
|
||||
}
|
||||
type: {}
|
||||
},
|
||||
group: [],
|
||||
avatar: {
|
||||
type: String
|
||||
},
|
||||
option: {
|
||||
type: {}
|
||||
},
|
||||
group: [{
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'User'
|
||||
}]
|
||||
}, {
|
||||
timestamps: {
|
||||
createdAt: 'createdAt',
|
||||
|
||||
Reference in New Issue
Block a user