2
0

2 Коммитууд 378290b8e8 ... eeb4bd8631

Эзэн SHA1 Мессеж Огноо
  123456 eeb4bd8631 Merge branch 'feature/v1.0.2' of https://jygit.jydev.jianyu360.cn/Test/jianyu_auto_api into feature/v1.0.2 5 сар өмнө
  123456 1a92a5d0de p260 搜索导出调整 app端 5 сар өмнө

+ 13 - 0
cases/app/登录/数据/app_searchExport.py

@@ -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 != "")

+ 14 - 0
lib/webapi.py

@@ -1482,6 +1482,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()