promotion/config.py
2019-07-16 15:15:53 +08:00

15 lines
515 B
Python

# -*- coding: utf-8 -*-
import os
expire_time = 7200
paswd = os.getenv('adpwd')
redis_company_config = {'host': '10.10.4.8', 'port': 6379, 'db': 1, 'passwd': paswd}
mysql_promotion_config = {'user': 'ad', 'pswd': 'config.py', 'host': '10.10.3.5', 'db': 'ad'}
ad_list_interface_port = 5014
BEGIN = '1999-01-01'
END = '3000-01-01'
# mysql_promotion_config = {'user': 'mytga', 'pswd': 'gzVwh4HGR68G', 'host': '10.10.3.5', 'db': 'games_report'}
# redis_company_config = {'host': '10.10.3.10', 'port': 6379, 'db': 2}