sc-common-interface 2.5.5__tar.gz → 2.5.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.5.5 → sc-common-interface-2.5.6}/PKG-INFO +1 -1
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/LiveCommonInterface.py +6 -4
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/setup.py +1 -1
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/McCommonInterface.py +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/Platform.py +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/PostCommonInterface.py +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/__init__.py +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/setup.cfg +0 -0
{sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -1511,7 +1511,8 @@ def get_stock_product_set(res,type="stock"):
|
|
|
1511
1511
|
break
|
|
1512
1512
|
keyword = combination["keywords"][0]
|
|
1513
1513
|
product_id = i["id"]
|
|
1514
|
-
|
|
1514
|
+
combination_id = combination["id"]
|
|
1515
|
+
return keyword, product_id, combination_id
|
|
1515
1516
|
elif type=="out":
|
|
1516
1517
|
for i in list_data:
|
|
1517
1518
|
combinationList = i["combinationList"]
|
|
@@ -1523,7 +1524,8 @@ def get_stock_product_set(res,type="stock"):
|
|
|
1523
1524
|
if quantity != -1 and quantity < count:
|
|
1524
1525
|
keyword = combination["keywords"][0]
|
|
1525
1526
|
product_id = i["id"]
|
|
1526
|
-
|
|
1527
|
+
combination_id = combination["id"]
|
|
1528
|
+
return keyword, product_id, combination_id
|
|
1527
1529
|
|
|
1528
1530
|
|
|
1529
1531
|
|
|
@@ -1828,5 +1830,5 @@ if __name__=="__main__":
|
|
|
1828
1830
|
},
|
|
1829
1831
|
"traceId": "13f3a0b22dc91017817f0f74756031cf"
|
|
1830
1832
|
}
|
|
1831
|
-
keyword,spuid,
|
|
1832
|
-
print(
|
|
1833
|
+
keyword,spuid,combination_id = get_stock_product_set(data,"out")
|
|
1834
|
+
print(combination_id)
|
{sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface/PostCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc-common-interface-2.5.5 → sc-common-interface-2.5.6}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|