sc-common-interface 2.5.1__tar.gz → 2.5.2__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.5.1 → sc-common-interface-2.5.2}/PKG-INFO +1 -1
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/LiveCommonInterface.py +13 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/setup.py +1 -1
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/McCommonInterface.py +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/Platform.py +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/PostCommonInterface.py +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/__init__.py +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/setup.cfg +0 -0
{sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -1465,6 +1465,19 @@ def delete_product_set(data):
|
|
|
1465
1465
|
res = requests.delete(url,headers=headers,json=body).json()
|
|
1466
1466
|
return res
|
|
1467
1467
|
|
|
1468
|
+
def search_product_set(data):
|
|
1469
|
+
env = data["env"]
|
|
1470
|
+
headers = data["headers"]
|
|
1471
|
+
sales_id = data["sales_id"]
|
|
1472
|
+
query = ""
|
|
1473
|
+
if "query" in data:
|
|
1474
|
+
query = data["query"]
|
|
1475
|
+
url = "%s/admin/api/bff-web/live/sale/%s/product/product_set/list"%(env,sales_id)
|
|
1476
|
+
param = {"pageNum":1,"pageSize":10,"query":query}
|
|
1477
|
+
print(param)
|
|
1478
|
+
res = requests.get(url,headers=headers,params=param).json()
|
|
1479
|
+
return res
|
|
1480
|
+
|
|
1468
1481
|
|
|
1469
1482
|
|
|
1470
1483
|
if __name__=="__main__":
|
{sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface/PostCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc-common-interface-2.5.1 → sc-common-interface-2.5.2}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|