sc-common-interface 2.4.5__tar.gz → 2.4.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/PKG-INFO +1 -1
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/PostCommonInterface.py +5 -2
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/setup.py +1 -1
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/LiveCommonInterface.py +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/McCommonInterface.py +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/Platform.py +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/__init__.py +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/setup.cfg +0 -0
{sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/PostCommonInterface.py
RENAMED
|
@@ -846,8 +846,11 @@ def get_comment_user(data):
|
|
|
846
846
|
env = data["env"]
|
|
847
847
|
headers = data["headers"]
|
|
848
848
|
sales_id = data["sales_id"]
|
|
849
|
-
url = "%s/api/posts/post/comments"%env
|
|
850
849
|
params = {"pageNo":1,"pageSize":10,"salesId":sales_id}
|
|
850
|
+
if "query" in data:
|
|
851
|
+
query = data["query"]
|
|
852
|
+
params["query"] = query
|
|
853
|
+
url = "%s/api/posts/post/comments"%env
|
|
851
854
|
response = requests.get(url, headers=headers,params=params).json()
|
|
852
855
|
post_user_id = jsonpath(response, "$..id")[0]
|
|
853
856
|
return post_user_id,response
|
|
@@ -1650,4 +1653,4 @@ def edit_message(data):
|
|
|
1650
1653
|
|
|
1651
1654
|
|
|
1652
1655
|
if __name__=="__main__":
|
|
1653
|
-
|
|
1656
|
+
pass
|
{sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
File without changes
|
{sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc-common-interface-2.4.5 → sc-common-interface-2.4.6}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|