|
@@ -902,7 +902,21 @@ class APIMgr():
|
|
headers = GSTORE['headers']
|
|
headers = GSTORE['headers']
|
|
response = self.s.post(f"{cfg.target_host}/salesLeads/sampleReport", headers=headers, json={})
|
|
response = self.s.post(f"{cfg.target_host}/salesLeads/sampleReport", headers=headers, json={})
|
|
return response
|
|
return response
|
|
-
|
|
|
|
|
|
+ #项目名称联想
|
|
|
|
+ def project_name_lenovo(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ params = {"pName":[ "科技信息"]}
|
|
|
|
+ response = self.s.post(f"{cfg.target_host}/bigmember/analysis/projectName", headers=headers, params=params)
|
|
|
|
+ return response
|
|
|
|
+ #采购单位名称联想
|
|
|
|
+ def buyer_name_lenovo(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ params = {
|
|
|
|
+ "pName":[ "科技信息"],
|
|
|
|
+ "sType":1
|
|
|
|
+ }
|
|
|
|
+ response = self.s.post(f"{cfg.target_host}/bigmember/analysis/projectName", headers=headers, params=params)
|
|
|
|
+ return response
|
|
|
|
|
|
apimgr = APIMgr()
|
|
apimgr = APIMgr()
|
|
|
|
|