sc-common-interface 2.2.4__tar.gz → 2.2.5__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.2.4 → sc-common-interface-2.2.5}/PKG-INFO +1 -1
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface/PostCommonInterface.py +4 -6
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/setup.py +1 -1
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface/Platform.py +0 -0
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface/__init__.py +0 -0
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/setup.cfg +0 -0
{sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface/PostCommonInterface.py
RENAMED
|
@@ -177,6 +177,9 @@ def search_oa_product(data):
|
|
|
177
177
|
env = data["env"]
|
|
178
178
|
headers = data["headers"]
|
|
179
179
|
url = "%s/openApi/proxy/v1/products?page=1&per_page=4" %env
|
|
180
|
+
if "query" in data:
|
|
181
|
+
query = data["query"]
|
|
182
|
+
url = "%s/openApi/proxy/v1/products?page=1&per_page=4&query=%s" % (env,query)
|
|
180
183
|
response = requests.get(url, headers=headers).json()
|
|
181
184
|
return response
|
|
182
185
|
|
|
@@ -350,9 +353,6 @@ def get_page_post(data):
|
|
|
350
353
|
:return:响应
|
|
351
354
|
"""
|
|
352
355
|
#时间戳转换
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
356
|
env = data["env"]
|
|
357
357
|
headers = data["headers"]
|
|
358
358
|
platform = "FACEBOOK"
|
|
@@ -1450,6 +1450,4 @@ def get_mc_order_link(url):
|
|
|
1450
1450
|
|
|
1451
1451
|
|
|
1452
1452
|
if __name__=="__main__":
|
|
1453
|
-
|
|
1454
|
-
response = manual_order(data)
|
|
1455
|
-
|
|
1453
|
+
pass
|
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc-common-interface-2.2.4 → sc-common-interface-2.2.5}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|