From 3eabd0961bc63f08f10b4c582ed1c471df43a8c7 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期一, 10 二月 2025 15:40:26 +0800
Subject: [PATCH] 獲取配置信息增加api

---
 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