|
@@ -83,5 +83,66 @@ class APIMgr():
|
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/myinfo", headers=hearders)
|
|
|
return response
|
|
|
|
|
|
+ """招标项目搜索-搜索入口"""
|
|
|
+ def bidding_project_search(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json={
|
|
|
+ "area": "河南",
|
|
|
+ "propertyForm": "医院",
|
|
|
+ "OwnerType": "医疗单位",
|
|
|
+ "Page": 1,
|
|
|
+ "PageSize": 1,
|
|
|
+ "KeyWords": "物业"
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/search/bidList", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """采购意向搜索-搜索入口"""
|
|
|
+ def purchase_intention_search(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json={
|
|
|
+ "area": "安徽",
|
|
|
+ "propertyForm": "学校",
|
|
|
+ "OwnerType": "教育单位",
|
|
|
+ "Page": 1,
|
|
|
+ "PageSize": 1,
|
|
|
+ "KeyWords": "数据"
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/search/buyPurposeList", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """招标项目搜索-订阅入口"""
|
|
|
+ def tender_subscription(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json={
|
|
|
+ "area": "河南",
|
|
|
+ "propertyForm": "医院",
|
|
|
+ "OwnerType": "医疗单位",
|
|
|
+ "Page": 1,
|
|
|
+ "PageSize": 1,
|
|
|
+ "KeyWords": "物业"
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/search/bidSubscribeList", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """采购意向搜索-订阅入口"""
|
|
|
+ def purchase_intention_subscription(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json={
|
|
|
+ "area": "安徽",
|
|
|
+ "propertyForm": "学校",
|
|
|
+ "OwnerType": "教育单位",
|
|
|
+ "Page": 1,
|
|
|
+ "PageSize": 1,
|
|
|
+ "KeyWords": "数据"
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/search/buyPurposeSubscribeList", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
+
|
|
|
|
|
|
apimgr = APIMgr()
|