style: 优化部分文件中的函数及类注释
This commit is contained in:
@@ -12,6 +12,7 @@ class PwdUtil:
|
||||
def verify_password(cls, plain_password, hashed_password):
|
||||
"""
|
||||
工具方法:校验当前输入的密码与数据库存储的密码是否一致
|
||||
|
||||
:param plain_password: 当前输入的密码
|
||||
:param hashed_password: 数据库存储的密码
|
||||
:return: 校验结果
|
||||
@@ -22,6 +23,7 @@ class PwdUtil:
|
||||
def get_password_hash(cls, input_password):
|
||||
"""
|
||||
工具方法:对当前输入的密码进行加密
|
||||
|
||||
:param input_password: 输入的密码
|
||||
:return: 加密成功的密码
|
||||
"""
|
||||
|
Reference in New Issue
Block a user