From 170c35d0a9cad40304833381e7971679cc3902c1 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 01 八月 2023 09:59:17 +0800 Subject: [PATCH] 获取环境接口 --- constant.py | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/constant.py b/constant.py index 5c78f69..c366b7d 100644 --- a/constant.py +++ b/constant.py @@ -26,10 +26,14 @@ "db": 0, "pwd": "123456" } if is_windows() else { - "host": "172.16.32.15", + # "host": "172.16.32.15", + # "port": 6379, + # "db": 0, + # "pwd": "Yeshi2016@" + "host": "127.0.0.1", "port": 6379, "db": 0, - "pwd": "Yeshi2016@" + "pwd": "123456" } MYSQL_CONFIG = { -- Gitblit v1.8.0