sc-common-interface 2.7.9__tar.gz → 2.8.0__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.7.9 → sc_common_interface-2.8.0}/PKG-INFO +1 -1
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/LiveCommonInterface.py +19 -3
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/PKG-INFO +1 -1
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/setup.py +1 -1
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/CommonOa.py +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/McCommonInterface.py +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/Platform.py +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/PostCommonInterface.py +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/__init__.py +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/SOURCES.txt +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/dependency_links.txt +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/requires.txt +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/top_level.txt +0 -0
- {sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/setup.cfg +0 -0
{sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/LiveCommonInterface.py
RENAMED
|
@@ -2113,15 +2113,31 @@ def handler_auto_reply(data):
|
|
|
2113
2113
|
delete_auto_reply(data)
|
|
2114
2114
|
|
|
2115
2115
|
|
|
2116
|
+
def handler_bidding(data):
|
|
2117
|
+
"删除在开启中的竞标活动"
|
|
2118
|
+
env = data["env"]
|
|
2119
|
+
headers = data["headers"]
|
|
2120
|
+
sales_id = data["sales_id"]
|
|
2121
|
+
url = "%s/admin/api/bff-web/live/activity/list/POST/%s"%(env,sales_id)
|
|
2122
|
+
response = requests.get(url,headers=headers)
|
|
2123
|
+
if response.status_code==200:
|
|
2124
|
+
for i in response.json()["data"]:
|
|
2125
|
+
status = i["status"]
|
|
2126
|
+
activity_type = i["type"]
|
|
2127
|
+
if status=="PROGRESS" and activity_type=="BIDDING":
|
|
2128
|
+
activity_id = i["id"]
|
|
2129
|
+
data["activity_id"] = activity_id
|
|
2130
|
+
end_activity(data)
|
|
2131
|
+
time.sleep(1)
|
|
2132
|
+
delate_activity(data)
|
|
2133
|
+
|
|
2116
2134
|
|
|
2117
2135
|
|
|
2118
2136
|
|
|
2119
2137
|
|
|
2120
2138
|
|
|
2121
2139
|
if __name__=="__main__":
|
|
2122
|
-
|
|
2123
|
-
data["keyword"] = "lyqyh1738918047653"
|
|
2124
|
-
send__live_comment(data)
|
|
2140
|
+
pass
|
|
2125
2141
|
|
|
2126
2142
|
|
|
2127
2143
|
|
|
File without changes
|
{sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/McCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface/PostCommonInterface.py
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{sc_common_interface-2.7.9 → sc_common_interface-2.8.0}/sc_common_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|