@@ -0,0 +1,13 @@
+from hytest import *
+from lib.webapi import apimgr
+
+class c1:
+ name = "app招标采购搜索数据导出"
+ def teststeps(self):
+ INFO("测试步骤")
+ STEP(1,"第一步调用函数")
+ res = apimgr.app_searchExport()
+ r = res.json()
+ actural = r['_id']
+ STEP(2,"第二步设置检查点")
+ CHECK_POINT("检查_id有返回值,不为空",actural != "")
@@ -1474,6 +1474,20 @@ class APIMgr():
response =self.s.post(f"{cfg.target_host}/front/wx_dataExport/searchExport",headers = headers ,params =params)
return response
+ # pc/微信招标采购搜索-数据导出
+ def app_searchExport(self):
+ headers = GSTORE['headers']
+ params = {
+ "searchvalue": "科技",
+ "additionalWords": "软件",
+ "searchGroup": "0",
+ "searchMode": "0",
+ "wordsMode": "0"
+ }
+ response = self.s.post(f"{cfg.target_host}/jyapp/front/dataExport/searchExport", headers=headers, params=params)
+ return response
apimgr = APIMgr()