|
@@ -1382,6 +1382,29 @@ class APIMgr():
|
|
|
response = s.get(f"{cfg.target_host_app}/entnicheNew/distribute/detail?id=67820b98e7364a57c3b7eaf5", headers=hearders, data=data)
|
|
|
return response
|
|
|
|
|
|
+ """采购单位画像数据"""
|
|
|
+ def prchasing_profile_data(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ params= {
|
|
|
+ "buyer":"黎明化工研究设计院有限责任公司",
|
|
|
+ "exactMatch":0
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host}/entnicheNew/portrait/buyer/getData", headers=hearders, params=params)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """最新项目动态"""
|
|
|
+ def latest_project_news(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ params= {
|
|
|
+ "buyer":"黎明化工研究设计院有限责任公司",
|
|
|
+ "PageNum":1,
|
|
|
+ "pageSize":5
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host}/entnicheNew/portrait/buyer/getNewMsg", headers=hearders, params=params)
|
|
|
+ return response
|
|
|
+
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|