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