|
@@ -196,7 +196,7 @@ class APIMgr():
|
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/monitorOperate", headers=hearders, json=json)
|
|
|
return response
|
|
|
|
|
|
- """详情页信息"""
|
|
|
+ """详情页信息-投标"""
|
|
|
def detailed_information(self):
|
|
|
hearders = GSTORE['headers']
|
|
|
s = GSTORE['s']
|
|
@@ -229,7 +229,6 @@ class APIMgr():
|
|
|
)
|
|
|
|
|
|
"""情报详情"""
|
|
|
-
|
|
|
def information_details(self):
|
|
|
hearders = GSTORE['headers']
|
|
|
s = GSTORE['s']
|
|
@@ -240,11 +239,32 @@ class APIMgr():
|
|
|
return response
|
|
|
|
|
|
"""订阅查询"""
|
|
|
-
|
|
|
def subscription_query(self):
|
|
|
hearders = GSTORE['headers']
|
|
|
s = GSTORE['s']
|
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/userInfo", headers=hearders)
|
|
|
return response
|
|
|
|
|
|
+ """采购单位分析"""
|
|
|
+ def purchasing_analysis(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json = {
|
|
|
+ "Id": "6683afb5fd2a955205279a0e",
|
|
|
+ "Type": 0
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/getBuyerAnalyze", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """详情页信息"""
|
|
|
+ def detail_page_information(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json = {
|
|
|
+ "Id": "ABCY1xZcDIvJyssAlV1cHU8CicoEjRjYWR1Pw4jIy4wc3xzfTNUCec%3D",
|
|
|
+ "Type":1
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/getDetailEquity", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
apimgr = APIMgr()
|