修复了已知的生产环境问题
This commit is contained in:
@@ -388,6 +388,15 @@ class User(QModel):
|
||||
def id(self):
|
||||
return self.ID
|
||||
|
||||
@property
|
||||
def shoujihao_renzheng(self):
|
||||
"""兼容旧代码 — 手机号是否已认证"""
|
||||
return self.PhoneVerified
|
||||
|
||||
@shoujihao_renzheng.setter
|
||||
def shoujihao_renzheng(self, value):
|
||||
self.PhoneVerified = bool(value)
|
||||
|
||||
def set_password(self, raw_password):
|
||||
self.SetPassword(raw_password)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user