feat:裁剪

This commit is contained in:
chaosBreaking
2019-08-31 22:44:57 +08:00
parent 8202aa17c3
commit 55d77c03a3
10 changed files with 159 additions and 577 deletions

View File

@@ -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',