fix: 更改短信模板,删除用户模型原型方法
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = {
|
||||
sendSMS(phone, {
|
||||
msgParam: { code },
|
||||
templateCode: 'SMS_142465215',
|
||||
signName: 'TIC钱包管家'
|
||||
signName: '第五维度'
|
||||
}),
|
||||
this.saveCode({
|
||||
id: phone,
|
||||
|
||||
@@ -19,7 +19,7 @@ const CodeSchema = new mongoose.Schema({
|
||||
expiresAt: {
|
||||
type: Date,
|
||||
default: Date.now,
|
||||
expires: 3600
|
||||
expires: 600
|
||||
}
|
||||
}, {
|
||||
timestamps: {
|
||||
|
||||
Reference in New Issue
Block a user