|
@@ -143,6 +143,24 @@ class APIMgr():
|
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/search/buyPurposeSubscribeList", headers=hearders, json=json)
|
|
|
return response
|
|
|
|
|
|
+ """情报热词"""
|
|
|
+ def information_buzzword(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ response = s.get(f"{cfg.target_host_wxapi}/debrisproduct/info/getHotInfo", headers=hearders)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """情报列表"""
|
|
|
+ def information(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/getInfoList", headers=hearders, json=json)
|
|
|
+ return response
|
|
|
|
|
|
|
|
|
apimgr = APIMgr()
|