sc-common-interface 3.0.4__tar.gz → 3.0.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-3.0.4 → sc_common_interface-3.0.5}/PKG-INFO +1 -1
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/LiveCommonInterface.py +14 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/PostCommonInterface.py +3 -3
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/setup.py +1 -1
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/CommonOa.py +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/McCommonInterface.py +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/OperaMysql.py +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/OperaRedis.py +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/ScPulsar.py +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/ScWebsocket.py +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/__init__.py +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/setup.cfg +0 -0
{sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -2645,6 +2645,20 @@ def get_bulk_edit_keyword(data):
|
|
|
2645
2645
|
spuList.append(spu)
|
|
2646
2646
|
return bulk_edit_body
|
|
2647
2647
|
|
|
2648
|
+
def syn_line_product(data):
|
|
2649
|
+
env = data["env"]
|
|
2650
|
+
headers = data["headers"]
|
|
2651
|
+
sales_id = data["sales_id"]
|
|
2652
|
+
product_id = data["product_id"]
|
|
2653
|
+
line_status = data.get("line_status","HIDDEN")
|
|
2654
|
+
url = "%s/api/posts/post/sales/%s/spu/%s/status?status=%s"%(env,sales_id,product_id,line_status)
|
|
2655
|
+
response = requests.post(url,headers=headers).json()
|
|
2656
|
+
return response
|
|
2657
|
+
|
|
2658
|
+
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
|
|
2648
2662
|
|
|
2649
2663
|
|
|
2650
2664
|
|
{sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface/PostCommonInterface.py
RENAMED
|
@@ -496,7 +496,7 @@ def create_fb_text_post(data):
|
|
|
496
496
|
body = {"postDescription":postDescription,"platform":platform,
|
|
497
497
|
"url":[],"mediaFbid":[],"pageId":page_id}
|
|
498
498
|
response = requests.post(url,headers=headers,json=body).json()
|
|
499
|
-
print("创建贴文返回",response)
|
|
499
|
+
# print("创建贴文返回",response)
|
|
500
500
|
post_id = response["data"]["post_id"]
|
|
501
501
|
post_pid = response["data"]["id"]
|
|
502
502
|
return post_id,post_pid,response
|
|
@@ -1714,6 +1714,6 @@ def edit_message(data):
|
|
|
1714
1714
|
|
|
1715
1715
|
|
|
1716
1716
|
|
|
1717
|
-
|
|
1718
1717
|
if __name__=="__main__":
|
|
1719
|
-
|
|
1718
|
+
pass
|
|
1719
|
+
|
|
File without changes
|
{sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/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.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc_common_interface-3.0.4 → sc_common_interface-3.0.5}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|