sc-common-interface 3.0.9__tar.gz → 3.1.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.0.9 → sc_common_interface-3.1.2}/PKG-INFO +1 -1
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/CommonOa.py +1 -3
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/LiveCommonInterface.py +9 -3
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/PostCommonInterface.py +2 -2
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/setup.py +1 -1
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/McCommonInterface.py +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/OperaMysql.py +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/OperaRedis.py +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/ScPulsar.py +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/ScWebsocket.py +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/__init__.py +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/setup.cfg +0 -0
|
@@ -243,9 +243,7 @@ def get_str_time(time_type="add",unit="days",num=1,format='%Y-%m-%dT%H:%M:%S.%f'
|
|
|
243
243
|
|
|
244
244
|
|
|
245
245
|
if __name__=="__main__":
|
|
246
|
-
|
|
247
|
-
res = edit_product_spu(data)
|
|
248
|
-
print(res)
|
|
246
|
+
pass
|
|
249
247
|
|
|
250
248
|
|
|
251
249
|
|
{sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -2728,6 +2728,13 @@ def line_bind_webhook(data):
|
|
|
2728
2728
|
response = requests.post(url,json=body,headers={"Content-Type":"application/json"})
|
|
2729
2729
|
|
|
2730
2730
|
|
|
2731
|
+
def get_live_global(data):
|
|
2732
|
+
env = data["env"]
|
|
2733
|
+
headers = data["headers"]
|
|
2734
|
+
url = "%s/api/posts/post/sales/global/LIVE"%env
|
|
2735
|
+
res = requests.get(url, headers=headers).json()
|
|
2736
|
+
return res
|
|
2737
|
+
|
|
2731
2738
|
|
|
2732
2739
|
|
|
2733
2740
|
|
|
@@ -2736,9 +2743,8 @@ def line_bind_webhook(data):
|
|
|
2736
2743
|
|
|
2737
2744
|
|
|
2738
2745
|
if __name__ == "__main__":
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
send_comment()
|
|
2746
|
+
pass
|
|
2747
|
+
|
|
2742
2748
|
|
|
2743
2749
|
|
|
2744
2750
|
|
{sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/PostCommonInterface.py
RENAMED
|
@@ -1003,7 +1003,7 @@ def manual_order(data):
|
|
|
1003
1003
|
# print("会员ID",customer_id)
|
|
1004
1004
|
# print("创建会员返回,",response.text)
|
|
1005
1005
|
#给会员新增物流地址
|
|
1006
|
-
url = "%s/uc/customers/%s" % (
|
|
1006
|
+
url = "%s/uc/customers/%s" % (env,customer_id)
|
|
1007
1007
|
postcode = "76653"
|
|
1008
1008
|
delivery_data = {"delivery_addresses": [
|
|
1009
1009
|
{"city": "bb", "country": "CN", "postcode": postcode, "recipient_name": name,
|
|
@@ -1730,4 +1730,4 @@ def edit_message(data):
|
|
|
1730
1730
|
|
|
1731
1731
|
|
|
1732
1732
|
if __name__=="__main__":
|
|
1733
|
-
pass
|
|
1733
|
+
pass
|
{sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc_common_interface-3.0.9 → sc_common_interface-3.1.2}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|