Commit 847d7c93 by zhaihuitao

update

parent 9a878286
......@@ -23,6 +23,7 @@ prod = {
"url": "http://10.3.20.42:8080",
"interface": "/receive/tkiov2/install",
"appkey": "b58f29d64718c6723895cb8a2389258c",
"adclick": "adclick"
},
}
......
......@@ -15,7 +15,7 @@ from config.prod.params import params_adclick
class adclickTestCase(unittest.TestCase):
def testadclick(self):
r = requests.post(url=prod['events']['url'] + 'adclick', data=json.dumps(params_adclick), headers=headers, timeout=5)
r = requests.post(url=prod['events']['url'] + prod['events']['adclick'], data=json.dumps(params_adclick), headers=headers, timeout=5)
print("广告点击:" + r.text)
if __name__ == "__main__":
......
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