Commit 438b74ac by Aeolus

update

parent 25988873
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
import os import os
is_prod = os.getenv("RUN_ENV", "test") == 'prod' is_prod = os.getenv("RUN_ENV", "test") == 'prod'
is_prod = True
if is_prod: if is_prod:
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:Boosal2014!!@sh-cdb-kzmpyjqw.sql.tencentcdb.com:63037/suishenwan' SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:ssw2021!!@sh-cdb-l7zsey88.sql.tencentcdb.com:60009/suishenwan'
MONGO_DATABASE_URI = "mongodb://suishenwan:Bk9w8Xu4@49.235.36.102:27017/suishenwan?authSource=admin&authMechanism=SCRAM-SHA-256" MONGO_DATABASE_URI = "mongodb://suishenwan:Bk9w8Xu4@49.235.36.102:27017/suishenwan?authSource=admin&authMechanism=SCRAM-SHA-256"
MONGO_DATABASE_NAME = "suishenwan" MONGO_DATABASE_NAME = "suishenwan"
else: else:
......
...@@ -18,7 +18,7 @@ NEW_ONENET_CONFIG = { ...@@ -18,7 +18,7 @@ NEW_ONENET_CONFIG = {
"624476708", "628296149", "628649303", "628649346", "628649432", "628649498", "628919054", "624476708", "628296149", "628649303", "628649346", "628649432", "628649498", "628919054",
"631690510", "631693136", "631693725", "631693885", "670152192", "672400636", "672400567", "631690510", "631693136", "631693725", "631693885", "670152192", "672400636", "672400567",
"617584147", "617444636", "702673511", "702673648", "702673831", "702673998", "710158579", "617584147", "617444636", "702673511", "702673648", "702673831", "702673998", "710158579",
"666663005", "666663005", "617584805",
# 下面四个不用了 # 下面四个不用了
"617445699", "617445739", "617445774", "617445799" "617445699", "617445739", "617445774", "617445799"
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment