sc-common-interface 3.2.5__tar.gz → 3.2.6__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.5 → sc_common_interface-3.2.6}/PKG-INFO +1 -1
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/LiveCommonInterface.py +3 -2
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/PostCommonInterface.py +1 -1
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/setup.py +1 -1
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/CommonOa.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/McCommonInterface.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/OperaMysql.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/OperaRedis.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/ScPulsar.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/ScWebsocket.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/__init__.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/pra.py +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/setup.cfg +0 -0
{sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -2254,7 +2254,8 @@ def delete_auto_reply(data):
|
|
|
2254
2254
|
def handler_auto_reply(data):
|
|
2255
2255
|
"""处理自动回复,避免超过10个,超过10个无法新增"""
|
|
2256
2256
|
live_info = get_live_info(data)
|
|
2257
|
-
|
|
2257
|
+
print(live_info)
|
|
2258
|
+
autoReplyCommentConfig = live_info["data"]["auto_reply_comment_config"]["rules"]
|
|
2258
2259
|
num = data.get("num", 8)
|
|
2259
2260
|
if len(autoReplyCommentConfig) > num:
|
|
2260
2261
|
for info in autoReplyCommentConfig:
|
|
@@ -2776,7 +2777,7 @@ def get_live_global(data):
|
|
|
2776
2777
|
|
|
2777
2778
|
|
|
2778
2779
|
if __name__ == "__main__":
|
|
2779
|
-
|
|
2780
|
+
pass
|
|
2780
2781
|
|
|
2781
2782
|
|
|
2782
2783
|
|
{sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/PostCommonInterface.py
RENAMED
|
@@ -1078,7 +1078,7 @@ def get_user_conversation_id(data):
|
|
|
1078
1078
|
platform = "facebook"
|
|
1079
1079
|
if "platform" in data:
|
|
1080
1080
|
platform = data["platform"].lower()
|
|
1081
|
-
url = "%s/mc/conversation/id?type=%s&user_id=%s&party_channel_id=%s" % (env, platform, user_id, page_id)
|
|
1081
|
+
url = "%s/admin/api/bff-web/mc/conversation/id?type=%s&user_id=%s&party_channel_id=%s" % (env, platform, user_id, page_id)
|
|
1082
1082
|
# param = {"type":"facebook","user_id":vars["user_id"],"party_channel_id":vars["platform_channel_id"]}
|
|
1083
1083
|
print(url)
|
|
1084
1084
|
response = requests.get(url, headers=headers).json()
|
|
File without changes
|
{sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc_common_interface-3.2.5 → sc_common_interface-3.2.6}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|