Commit 2ca44b4e by zhaihuitao

update

parent 13fde0b6
# -*- coding: utf-8 -*-
"""
@author:zhaiht
@file: iniUtil.py
@time: 2020/9/17 10:30
@desc:
"""
from configparser import ConfigParser
def read_config(config_file_path: str):
"""
读取配置文件
:param config_file_path: 文件路径
:return: 配置文件对象
"""
rc = ConfigParser()
rc.read(config_file_path)
return rc
\ No newline at end of file
......@@ -7,12 +7,13 @@
"""
from numpy import long
from common import randomUtil
from common.iniUtil import read_config
import time
# 测试环境
# 生产环境:
read_config()
prod_click_url = 'http://uri6.com/tkio/Er6BFna'
prod_event_url = 'http://log.trackingio.com'
......
# -*- coding: utf-8 -*-
"""
@author:zhaiht
@file: __init__.py.py
@time: 2020/9/17 10:36
@desc:
"""
\ No newline at end of file
[env]
prod_click_url = http://uri6.com/tkio/Er6BFna
prod_event_url = http://log.trackingio.com
prod_appkey = 895c5256a7f47bd2cca88a29da9e978a
event_interface = {"events": ['/receive/tkio/install']}
\ No newline at end of file
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