|
@@ -150,8 +150,8 @@ class APIMgr():
|
|
|
response = s.get(f"{cfg.target_host_wxapi}/debrisproduct/info/getHotInfo", headers=hearders)
|
|
|
return response
|
|
|
|
|
|
- """情报列表"""
|
|
|
- def information(self):
|
|
|
+ """情报列表/搜索-搜索"""
|
|
|
+ def information_search(self):
|
|
|
hearders = GSTORE['headers']
|
|
|
s = GSTORE['s']
|
|
|
json={
|
|
@@ -162,5 +162,17 @@ class APIMgr():
|
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/info/getInfoList", headers=hearders, json=json)
|
|
|
return response
|
|
|
|
|
|
+ """情报列表/搜索-订阅"""
|
|
|
+ def information_subscription(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ json={
|
|
|
+ "page_size": 1,
|
|
|
+ "page_num": 1,
|
|
|
+ "keyWords": "科技"
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/info/subscribeList", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
|
|
|
apimgr = APIMgr()
|