sc-common-interface 3.0.2__tar.gz → 3.0.3__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.0.2 → sc_common_interface-3.0.3}/PKG-INFO +1 -1
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/LiveCommonInterface.py +6 -7
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/setup.py +1 -1
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/CommonOa.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/McCommonInterface.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/OperaMysql.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/OperaRedis.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/PostCommonInterface.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/ScPulsar.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/ScWebsocket.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/__init__.py +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/setup.cfg +0 -0
{sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -1770,7 +1770,10 @@ def get_sales_keyword(data):
|
|
|
1770
1770
|
|
|
1771
1771
|
|
|
1772
1772
|
def get_stock_product_set(res, type="stock"):
|
|
1773
|
-
"""直播间查询OA组合商品信息
|
|
1773
|
+
"""直播间查询OA组合商品信息
|
|
1774
|
+
stock:查询有库存
|
|
1775
|
+
out:查询无库存
|
|
1776
|
+
"""
|
|
1774
1777
|
list_data = res["data"]["list"]
|
|
1775
1778
|
if type == "stock":
|
|
1776
1779
|
for i in list_data:
|
|
@@ -1783,7 +1786,7 @@ def get_stock_product_set(res, type="stock"):
|
|
|
1783
1786
|
if quantity == -1:
|
|
1784
1787
|
# print("库存无限数量")
|
|
1785
1788
|
pass
|
|
1786
|
-
elif quantity
|
|
1789
|
+
elif quantity < count:
|
|
1787
1790
|
break
|
|
1788
1791
|
keyword = combination["keywords"][0]
|
|
1789
1792
|
product_id = i["id"]
|
|
@@ -2546,9 +2549,5 @@ def send_comment():
|
|
|
2546
2549
|
|
|
2547
2550
|
|
|
2548
2551
|
if __name__ == "__main__":
|
|
2549
|
-
|
|
2550
|
-
data["activity_id"] = 10324333
|
|
2551
|
-
res = start_activity(data)
|
|
2552
|
-
print(res)
|
|
2553
|
-
|
|
2552
|
+
pass
|
|
2554
2553
|
|
|
File without changes
|
{sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface/PostCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc_common_interface-3.0.2 → sc_common_interface-3.0.3}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|