|
@@ -1956,9 +1956,27 @@ class APIMgr():
|
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/jybx/subscribe/fType/getKey", headers=headers, params=params)
|
|
|
return response
|
|
|
|
|
|
- """"""
|
|
|
-
|
|
|
+ """推送数据浏览状态修改-免费用户"""
|
|
|
+ def keywords_free(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ params = {
|
|
|
+ "isEnt":"false",
|
|
|
+ "ent_buy_member":0,
|
|
|
+ "ent_buy_vip":0,
|
|
|
+ "powerSource":0,
|
|
|
+ "userPower":1
|
|
|
+ }
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/jybx/subscribe/fType/getKey", headers=headers, params=params)
|
|
|
+ return response
|
|
|
|
|
|
+ """推送用户信息获取"""
|
|
|
+ def user_information_push(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ json = {
|
|
|
+ "serviceType": "pc"
|
|
|
+ }
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/jybx/subscribe/getUser", headers=headers, json=json)
|
|
|
+ return response
|
|
|
|
|
|
apimgr = APIMgr()
|
|
|
|