Commit 6c7a4741 by 文鑫

增加数据源查询接口

parent 3dbd2714
No preview for this file type
......@@ -19,6 +19,11 @@ class TestSystem():
id = getSourceId.get_SourceId(data)
url = url + id
r = requests.post(url=url)
#测试需要传递dataSourceId的接口
elif 'dataSourceId' in story :
id = getSourceId.get_SourceId(data)
url = url + id
r = requests.get(url=url)
#测试post接口
elif method == 'post':
json = eval(data)
......
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