|
@@ -249,6 +249,28 @@ class APIMgr():
|
|
|
}
|
|
|
response = s.post(f"{cfg.target_host}/publicapply/detail/advancedInfo", headers=headers, params=params)
|
|
|
return response
|
|
|
+ """三级页监控项目"""
|
|
|
+ def detail_monitor_project(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ s = GSTORE["s"]
|
|
|
+ params = {
|
|
|
+ "sid": "ABCY1xdfTI4LyMsM3d4cE8JIzAvFj1jcXNlKwUkPT0dY2BwDidUCZM="
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host}/bigmember/follow/project/add", headers=headers, params=params)
|
|
|
+ return response
|
|
|
+ """取消项目监控"""
|
|
|
+ def cacel_project(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ s = GSTORE["s"]
|
|
|
+ params = {
|
|
|
+ "sid": "ABCY1xdfTI4LyMsM3d4cE8JIzAvFj1jcXNlKwUkPT0dY2BwDidUCZM=",
|
|
|
+ "fid[followId]":"ABCY3ZdfT0FUCw4AnpUA3k%3D",
|
|
|
+ "fid[limit_count]": 10,
|
|
|
+ "fid[msg_open]": True,
|
|
|
+ "fid[status]": True,
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host}/bigmember/follow/project/cancel", headers=headers, params=params)
|
|
|
+ return response
|
|
|
|
|
|
#接口数据传值常用三种方式:urlencoded---params,键值对---data,json格式---json
|
|
|
#获取推送记录接口
|