Commit 0737bc8e by xiaoqi

打印

parent e71bab5e
Showing with 1 additions and 1 deletions
......@@ -499,7 +499,7 @@ def upload_gift(file_path, gid):
data = {
'gid': str(gid),
}
print(f"开始上传礼物到后台:gid={gid},本地文件是:${file_path} 本地文件是否存在{Path(file_path).exists()}")
try:
response = requests.post(url, headers=headers, files=files, data=data)
if response.status_code == 200:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment