|
@@ -1914,6 +1914,14 @@ class APIMgr():
|
|
|
}
|
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/message/findMessage", headers=headers, json=json)
|
|
|
return response
|
|
|
+ #关闭会话
|
|
|
+ def close_chatsession(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ json = {
|
|
|
+ "sessionId": "475b435e514c0207"
|
|
|
+ }
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/message/closeChatSession", headers=headers, json=json)
|
|
|
+ return response
|
|
|
|
|
|
|
|
|
|