|
@@ -1243,6 +1243,21 @@ class APIMgr():
|
|
|
}
|
|
|
response = self.s.post(f"{cfg.target_host}/entnicheNew/subscribe/infotype/update", headers=headers,json=json)
|
|
|
return response
|
|
|
+ #商机管理-企业订阅-修改推送设置
|
|
|
+ def entnichenew_pushset_update(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ data = {
|
|
|
+ "ratemode": 2,
|
|
|
+ "apppush": 1,
|
|
|
+ "mailpush": 1,
|
|
|
+ "matchway": 2,
|
|
|
+ "wxpush": 1,
|
|
|
+ "matchmode": "title,detail",
|
|
|
+ "switch": 1,
|
|
|
+ "identity": "ent"
|
|
|
+ }
|
|
|
+ response = self.s.post(f"{cfg.target_host}/entnicheNew/subscribe/pushset/update", headers=headers,data=data)
|
|
|
+ return response
|
|
|
|
|
|
|
|
|
|