sc-common-interface 2.6.3__tar.gz → 2.6.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-2.6.3 → sc-common-interface-2.6.4}/PKG-INFO +1 -1
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/LiveCommonInterface.py +9 -9
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/setup.py +1 -1
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/McCommonInterface.py +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/Platform.py +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/PostCommonInterface.py +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/__init__.py +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/setup.cfg +0 -0
{sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -7,15 +7,15 @@ import random
|
|
|
7
7
|
import hmac
|
|
8
8
|
from hashlib import sha1
|
|
9
9
|
import random
|
|
10
|
-
from PostCommonInterface import *
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
# from PostCommonInterface import *
|
|
11
|
+
|
|
12
|
+
def delete_post(data):
|
|
13
|
+
env = data["env"]
|
|
14
|
+
headers = data["headers"]
|
|
15
|
+
sales_id = data["sales_id"]
|
|
16
|
+
url = "%s/api/posts/post/sales/%s"%(env,sales_id)
|
|
17
|
+
res = requests.delete(url, headers=headers).json()
|
|
18
|
+
return res
|
|
19
19
|
|
|
20
20
|
def delete_relate_post(data):
|
|
21
21
|
"""删除串接的facebook或fb group 避免影响串接"""
|
{sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface/PostCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc-common-interface-2.6.3 → sc-common-interface-2.6.4}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|