Commit e2e6f1bc authored by lixiaofang's avatar lixiaofang

add

parent fbaa5034
...@@ -14,8 +14,6 @@ from physical.settings_local import DATABASES ...@@ -14,8 +14,6 @@ from physical.settings_local import DATABASES
from physical.settings_local import REDIS_URL from physical.settings_local import REDIS_URL
from libs.error import logging_exception from libs.error import logging_exception
my_sender = 'lixiaofang@igengmei.com' my_sender = 'lixiaofang@igengmei.com'
my_pass = 'tg5AVKBB8jLQGBET' my_pass = 'tg5AVKBB8jLQGBET'
my_user6 = "lixiaofang@igengmei.com" my_user6 = "lixiaofang@igengmei.com"
...@@ -25,40 +23,11 @@ auto_reply_url = "http://earth.gmapp.env/api/v1/reply/create" ...@@ -25,40 +23,11 @@ auto_reply_url = "http://earth.gmapp.env/api/v1/reply/create"
auto_follow_url = "http://earth.gmapp.env/api/v1/follow" auto_follow_url = "http://earth.gmapp.env/api/v1/follow"
auto_urge_url = "http://earth.gmapp.env/api/v1/user/urge" auto_urge_url = "http://earth.gmapp.env/api/v1/user/urge"
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'alpha',
'USER': 'work',
'PASSWORD': 'Gengmei123!',
'HOST': 'bj-cdb-55ejhsjy.sql.tencentcdb.com',
'PORT': '62177',
'OPTIONS': {
"init_command": "SET foreign_key_checks = 0;",
"charset": "utf8mb4",
},
}
}
# auto_click_url = "http://earth.iyanzhi.com/api/v1/like" # auto_click_url = "http://earth.iyanzhi.com/api/v1/like"
# auto_reply_url = "http://earth.iyanzhi.com/api/v1/reply/create" # auto_reply_url = "http://earth.iyanzhi.com/api/v1/reply/create"
# auto_follow_url = "http://earth.iyanzhi.com/api/v1/follow" # auto_follow_url = "http://earth.iyanzhi.com/api/v1/follow"
# auto_urge_url = "http://earth.iyanzhi.com/api/v1/user/urge" # auto_urge_url = "http://earth.iyanzhi.com/api/v1/user/urge"
#
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
# 'NAME': 'alpha',
# 'USER': 'work',
# 'PASSWORD': 'oars152!traipseize738',
# 'HOST': '172.17.40.136',
# 'PORT': '3306',
# 'OPTIONS': {
# "init_command": "SET foreign_key_checks = 0;",
# "charset": "utf8mb4",
# }
# }
# }
host = DATABASES['default']['HOST'] host = DATABASES['default']['HOST']
......
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