sc-common-interface 3.2.1__tar.gz → 3.2.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-3.2.1 → sc_common_interface-3.2.2}/PKG-INFO +1 -1
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/LiveCommonInterface.py +5 -5
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/setup.py +1 -1
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/CommonOa.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/McCommonInterface.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/OperaMysql.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/OperaRedis.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/PostCommonInterface.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/ScPulsar.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/ScWebsocket.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/__init__.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/pra.py +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/setup.cfg +0 -0
{sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -1875,8 +1875,10 @@ def get_produnct_set_detail(data):
|
|
|
1875
1875
|
headers = data["headers"]
|
|
1876
1876
|
product_id = data["product_id"]
|
|
1877
1877
|
sales_id = data["sales_id"]
|
|
1878
|
+
if isinstance(product_id, list):
|
|
1879
|
+
product_id = product_id[0]
|
|
1878
1880
|
url = "%s/admin/api/bff-web/live/sale/%s/product/product_set/%s" % (env, sales_id, product_id)
|
|
1879
|
-
|
|
1881
|
+
print(url)
|
|
1880
1882
|
count = 0
|
|
1881
1883
|
while True:
|
|
1882
1884
|
response = requests.get(url, headers=headers)
|
|
@@ -1914,7 +1916,7 @@ def add_product_set_to_live(data):
|
|
|
1914
1916
|
data["product_id"] = product_id
|
|
1915
1917
|
# 查询组合商品详情信息
|
|
1916
1918
|
response = get_produnct_set_detail(data)
|
|
1917
|
-
|
|
1919
|
+
print(response)
|
|
1918
1920
|
products = []
|
|
1919
1921
|
zi_list = response["data"]
|
|
1920
1922
|
# print(zi_list)
|
|
@@ -2770,9 +2772,7 @@ def get_live_global(data):
|
|
|
2770
2772
|
|
|
2771
2773
|
|
|
2772
2774
|
if __name__ == "__main__":
|
|
2773
|
-
|
|
2774
|
-
res = live_search_oa_gift(data)
|
|
2775
|
-
print(res)
|
|
2775
|
+
pass
|
|
2776
2776
|
|
|
2777
2777
|
|
|
2778
2778
|
|
|
File without changes
|
{sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface/PostCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc_common_interface-3.2.1 → sc_common_interface-3.2.2}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|