#!/usr/bin/env python3  
# -*- coding: utf-8 -*-  
"""
@Copyright (C) ansjer cop Video Technology Co.,Ltd.All rights reserved.
@AUTHOR: ASJRD018
@NAME: AnsjerFormal
@software: PyCharm
@DATE: 2020/3/20 14:36
@Version: python3.6
@MODIFY DECORD:ansjer dev
@file: postest.py
@Contact: chanjunkai@163.com
"""
import requests

data = {}
data['push_type'] = 2
data['token_val'] = '1a0018970a332cca935'
data['appBundleId'] = 'com.ansjer.zccloud_ab'
data['tz'] = '+08.00'
data['uid'] = 'HLK7EJ2VYLNHHUMG111A'
data['status'] = '1'
data['m_code'] = 'AN02000025070000001207.zccloud_ab'
data['token'] = 'local'
data['lang'] = 'cn'
data['app_type'] = '2'
# 新增传值
data['interval'] = '3600'
data['detect_group'] = '57,58,59'

res = requests.post(url='http://192.168.136.140:8077/detect/changeStatus',data=data)

print(res.json())
