|
@@ -49,7 +49,7 @@ class APIMgr():
|
|
|
s = requests.Session()
|
|
|
GSTORE['s'] = s
|
|
|
#pc登录接口
|
|
|
- def mgr_login(self, phone='18211989987', password='123456',useproxies=False):
|
|
|
+ def mgr_login(self, phone='15700000444', password='123123',useproxies=False):
|
|
|
headers=GSTORE['headers']
|
|
|
s = GSTORE['s']
|
|
|
if useproxies:
|
|
@@ -1070,7 +1070,11 @@ class APIMgr():
|
|
|
|
|
|
response =self.s.post(f"{cfg.target_host}/jyapi/messageCenter/MessageList",headers=header,json=json)
|
|
|
return response
|
|
|
-
|
|
|
+ #一键清空未读消息
|
|
|
+ def clear_unread_msg(self):
|
|
|
+ header = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/messageCenter/ClearUnreadMsg",headers = header)
|
|
|
+ return response
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|