From 86eb9da215762d7ff59213840c4fc82fcff190c7 Mon Sep 17 00:00:00 2001 From: RogerWork Date: Tue, 20 Feb 2024 15:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E7=BA=BF=E4=B8=8A=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dingxin_toolbox_drf/settings.py | 9 ++++++--- reqirement.txt | Bin 2562 -> 2728 bytes 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dingxin_toolbox_drf/settings.py b/dingxin_toolbox_drf/settings.py index c153716..09ecd52 100644 --- a/dingxin_toolbox_drf/settings.py +++ b/dingxin_toolbox_drf/settings.py @@ -19,8 +19,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent print(BASE_DIR) # 服务器IP -SERVER_IP = '172.16.1.63' -REDIS_IP = '172.16.1.63' +# SERVER_IP = '172.16.1.63' +# REDIS_IP = '172.16.1.63' +SERVER_IP = '172.16.1.222' +REDIS_IP = '172.16.1.222' # SERVER_IP = '' # Quick-start development settings - unsuitable for production @@ -95,7 +97,8 @@ ASGI_APPLICATION = 'dingxin_toolbox_drf.routing.application' DATABASES = { "default": { "ENGINE": "django.db.backends.mysql", - "HOST": "home.rogersun.cn", + # "HOST": "home.rogersun.cn", + "HOST": SERVER_IP, "PORT": 3306, "USER": "dingxin", "PASSWORD": "cine123456", diff --git a/reqirement.txt b/reqirement.txt index b495727be13aa00376599d5d9acf2e30a28b88bd..4596235260d94515a4dbdf6412e07ba1ca62a69d 100644 GIT binary patch delta 169 zcmZn?Ss}XN4~uy^Ln%WZLncEqLq0+9a~!56fmNRxZZPX>8M&C(Ci!Os?b70swNI2lW5|