配置2

parent c89a8601
......@@ -46,7 +46,8 @@ tamp_pay_engine = create_engine(
redis = redis.Redis(
host=config[env]['redis']['host'],
port=config[env]['redis']['port'],
db=config[env]['redis']['db']
db=config[env]['redis']['db'],
password=config[env]['redis']['password']
)
logging.basicConfig(level=logging.INFO,
......
......@@ -54,7 +54,7 @@ prod:
host: r-uf6atruhdbq89enqz0.redis.rds.aliyuncs.com
port: 6379
db: 0
password: @imeng123
password: '@imeng123'
log:
filename: /logs/tamp_course_order.log
filemode: a
......
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