From 2ab8a0e98c782a55c69a22d4b49bf294b8cfc2d9 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期一, 10 二月 2025 13:53:09 +0800 Subject: [PATCH] 报告生成代码同步完善 --- app/models/user_model.py | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/app/models/user_model.py b/app/models/user_model.py index 10b3fed..8dc7183 100644 --- a/app/models/user_model.py +++ b/app/models/user_model.py @@ -254,11 +254,4 @@ 'password': self.password, 'access_token': self.access_token, 'refresh_token': self.refresh_token, - } - @staticmethod - def encrypted_password(password): - return cipher_suite.encrypt(password.encode("utf-8")).decode("utf-8") - - @staticmethod - def decrypted_password(password): - return cipher_suite.decrypt(password).decode("utf-8") \ No newline at end of file + } \ No newline at end of file -- Gitblit v1.8.0