后台:修复

This commit is contained in:
luying
2021-12-18 13:13:52 +08:00
parent 0456f2339f
commit 4c41224c9b
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export default class User extends BaseModel {
@prop({ required: true, _id: false })
channelInfo: LoginValidateData37|{}; // 渠道数据
@prop({ required: true, set: (val: string) => aesEncryptcfb(val, ENCRYPT_KEY, ENCRYPT_IV), get: (val: string) => aesDecryptcfb(val, ENCRYPT_KEY, ENCRYPT_IV) })
@prop({ required: true, set: (val: string) => aesEncryptcfb(val, ENCRYPT_KEY, ENCRYPT_IV), get: (val: string) => val?aesDecryptcfb(val, ENCRYPT_KEY, ENCRYPT_IV):'' })
tel: string; // 账号
@prop({ required: true, default: '' })