|
@@ -1,8 +1,8 @@
|
|
import json
|
|
import json
|
|
import requests
|
|
import requests
|
|
from hytest.common import *
|
|
from hytest.common import *
|
|
-#from pandas.io.formats.style import properties_args
|
|
|
|
-#from sympy.physics.vector.printing import params
|
|
|
|
|
|
+from pandas.io.formats.style import properties_args
|
|
|
|
+from sympy.physics.vector.printing import params
|
|
|
|
|
|
from cfg import cfg
|
|
from cfg import cfg
|
|
from bs4 import BeautifulSoup
|
|
from bs4 import BeautifulSoup
|
|
@@ -2015,6 +2015,16 @@ class APIMgr():
|
|
headers=headers
|
|
headers=headers
|
|
)
|
|
)
|
|
return response
|
|
return response
|
|
|
|
+ #客服会话列表
|
|
|
|
+ def conversationList(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ json = {
|
|
|
|
+ "userType": 1,
|
|
|
|
+ "filtrationId": ""
|
|
|
|
+ }
|
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/message/conversationList", headers=headers, json=json)
|
|
|
|
+ return response
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
apimgr = APIMgr()
|
|
apimgr = APIMgr()
|