1
This commit is contained in:
1 parent
cf1cff22d7
commit
5b0e8521c9
1 file changed
+2
-2
@@ -9,7 +9,7 @@ from download_print_out import download_transform_save_by_json
|
||||
# 默认使用脚本所在目录
|
||||
currentDir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
ENV = 'dev'
|
||||
ENV = 'prod'
|
||||
url = 'https://mp.api.suwa3d.com'
|
||||
if ENV == 'dev':
|
||||
url = 'http://mp.api.dev.com'
|
||||
@@ -53,7 +53,7 @@ class RedisClientSingleton:
|
||||
|
||||
def get_client(self):
|
||||
if self._client is None:
|
||||
self._client = redis.Redis(host='172.31.1.254', password='', port=6379, db=6)
|
||||
self._client = redis.Redis(host='mp.api.suwa3d.com', password='kcV2000', port=6379, db=6)
|
||||
return self._client
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user