|
@@ -1900,6 +1900,20 @@ class APIMgr():
|
|
|
}
|
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/message/createChatSession", headers=headers, json=json)
|
|
|
return response
|
|
|
+ #聊天内容分页查询
|
|
|
+ def findmessage(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ json = {
|
|
|
+ "userType": 2,
|
|
|
+ "msgType": 5,
|
|
|
+ "pageSize": 20,
|
|
|
+ "pageIndex": 1,
|
|
|
+ "sendId": "465d475c52",
|
|
|
+ "lastId": "0",
|
|
|
+ "sort": "asc"
|
|
|
+ }
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/message/findMessage", headers=headers, json=json)
|
|
|
+ return response
|
|
|
|
|
|
|
|
|
|