sc-common-interface 3.2.3__tar.gz → 3.2.4__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.3 → sc_common_interface-3.2.4}/PKG-INFO +1 -1
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/LiveCommonInterface.py +4 -3
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/setup.py +1 -1
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/CommonOa.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/McCommonInterface.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/OperaMysql.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/OperaRedis.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/PostCommonInterface.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/ScPulsar.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/ScWebsocket.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/__init__.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/pra.py +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/setup.cfg +0 -0
{sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -2457,8 +2457,8 @@ def search_product_by_keyword(data):
|
|
|
2457
2457
|
headers = data["headers"]
|
|
2458
2458
|
keyword = data["keyword"]
|
|
2459
2459
|
sales_id = data["sales_id"]
|
|
2460
|
-
url = "%s/admin/api/bff-web/live/sale/%s/
|
|
2461
|
-
param = {"salesId": sales_id, "
|
|
2460
|
+
url = "%s/admin/api/bff-web/live/sale/%s/sale_list/product" % (env, sales_id)
|
|
2461
|
+
param = {"salesId": sales_id, "pageIndex": 1, "pageSize": 20, "query": keyword, "queryType": "KEYWORD"}
|
|
2462
2462
|
response = requests.get(url, headers=headers, params=param).json()
|
|
2463
2463
|
return response
|
|
2464
2464
|
|
|
@@ -2776,7 +2776,8 @@ def get_live_global(data):
|
|
|
2776
2776
|
|
|
2777
2777
|
|
|
2778
2778
|
if __name__ == "__main__":
|
|
2779
|
-
|
|
2779
|
+
data = {'env': 'https://front-admin.shoplineapp.com', 'headers': {'Content-Type': 'application/json', 'authorization': 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIyNGUyMDgwMzdlNzIwYjMzOTI0ZmIwZDA4NTI0ZWVjYSIsImRhdGEiOnsibWVyY2hhbnRfaWQiOiI2MWIwOTZiZWI3YmVmMTAwMjQ1ZGJkOGIiLCJhcHBsaWNhdGlvbl9pZCI6IjYyN2M3NTBhMDYyMzcwMDAwYWZlNWVmZCJ9LCJpc3MiOiJodHRwczovL2RldmVsb3BlcnMuc2hvcGxpbmVhcHAuY29tIiwiYXVkIjpbXSwic3ViIjoiNjFiMDk2YmViN2JlZjEwMDI0NWRiZDhiIn0.9cBfiBZknZgL37b5A9rhcFQ77mvuXzXtt1Jt4gEH6yY', 'lang': 'en', 'user-agent': 'ShoplineQuality/1.5-python'}, 'sales_id': '592994', 'product_id': ['6954d7d8e8dca48f36f3988b'], 'keyword': '无规格商品前和后关键字1789825147'}
|
|
2780
|
+
delete_product_by_keyword(data)
|
|
2780
2781
|
|
|
2781
2782
|
|
|
2782
2783
|
|
|
File without changes
|
{sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/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.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc_common_interface-3.2.3 → sc_common_interface-3.2.4}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|