|
@@ -1997,6 +1997,26 @@ class APIMgr():
|
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/jybx/subscribe/fType/setRead", headers=headers, params=params)
|
|
|
return response
|
|
|
|
|
|
+ """推送数据浏览状态修改-免费用户"""
|
|
|
+
|
|
|
+ def subscribe_information_free(self):
|
|
|
+ try:
|
|
|
+ base_headers = GSTORE['headers']
|
|
|
+ except KeyError:
|
|
|
+ base_headers = {}
|
|
|
+ extra_headers = {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ "userid": "ABCYAEEczIv6Sg4EnpeApm%3D",
|
|
|
+ "appId": ""
|
|
|
+ }
|
|
|
+ headers = {**base_headers, **extra_headers}
|
|
|
+ response = self.s.post(
|
|
|
+ url=f"{cfg.target_host_app}/jyapi/jybx/subscribe/fType/someInfo",
|
|
|
+ headers=headers
|
|
|
+ )
|
|
|
+ return response
|
|
|
+
|
|
|
+
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|