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

15 lines
542 B
Python

# -*- coding: utf-8 -*-
import os
expire_time = 7200
ad_mysql_pwd = os.getenv('adpwd')
redis_company_config = {'host': '10.10.4.8', 'port': 6379, 'db': 1, 'passwd': 'crs-9ltb97ds:i33dkxshh'}
mysql_promotion_config = {'user': 'ad', 'pswd': ad_mysql_pwd, '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}