config.json 配置文件
{
"video_config": {
"alart_interval": 60,
"video_notify_url": "123456"
}
}
app_conf.py 配置文件操作模块
import json
# 读取配置
def read_config(
config.json 配置文件
{
"video_config": {
"alart_interval": 60,
"video_notify_url": "123456"
}
}
app_conf.py 配置文件操作模块
import json
# 读取配置
def read_config(