CMS_Django_Backend/apps/api/config.py

9 lines
174 B
Python
Raw Normal View History

2024-11-03 22:00:42 +08:00
class Config:
config = {
"isCypher": False,
"CypherMethod": "base64"
}
def getconfig(self, config_name):
return self.config[config_name]