|
@@ -1609,6 +1609,45 @@ class APIMgr():
|
|
}
|
|
}
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/jybx/buyer/vType/buyerList", headers=headers, json=json)
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/jybx/buyer/vType/buyerList", headers=headers, json=json)
|
|
return response
|
|
return response
|
|
|
|
+ #招标搜索-商机管理用户
|
|
|
|
+ def search_business(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ json = {
|
|
|
|
+ "searchGroup": 0,
|
|
|
|
+ "reqType": "lastNews",
|
|
|
|
+ "pageNum": 1,
|
|
|
|
+ "pageSize": 50,
|
|
|
|
+ "keyWords": "软件",
|
|
|
|
+ "searchMode": 0,
|
|
|
|
+ "bidField": "",
|
|
|
|
+ "publishTime": "1709616424-1741152424",
|
|
|
|
+ "selectType": "title,content",
|
|
|
|
+ "subtype": "",
|
|
|
|
+ "exclusionWords": "",
|
|
|
|
+ "buyer": "",
|
|
|
|
+ "winner": "",
|
|
|
|
+ "agency": "",
|
|
|
|
+ "industry": "",
|
|
|
|
+ "province": "",
|
|
|
|
+ "city": "",
|
|
|
|
+ "district": "",
|
|
|
|
+ "buyerClass": "",
|
|
|
|
+ "fileExists": "",
|
|
|
|
+ "price": "",
|
|
|
|
+ "buyerTel": "",
|
|
|
|
+ "winnerTel": ""
|
|
|
|
+ }
|
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/jybx/core/eType/searchList", headers=headers, json=json)
|
|
|
|
+ return response
|
|
|
|
+ #采购单位画像-关联数据
|
|
|
|
+ def relate_information(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ json = {
|
|
|
|
+ "buyer": "上饶市广信区兴园学校",
|
|
|
|
+ "area": "江西"
|
|
|
|
+ }
|
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/jybx/buyer/relates/information", headers=headers, json=json)
|
|
|
|
+ return response
|
|
|
|
|
|
apimgr = APIMgr()
|
|
apimgr = APIMgr()
|
|
|
|
|