Former-commit-id: 251b57f490efdc292b0c4c019431219b75ee890c
This commit is contained in:
2025-07-03 22:29:31 +08:00
parent 42460ad72f
commit 27c1b08365
3 changed files with 20 additions and 10 deletions

View File

@ -420,7 +420,7 @@ def send_data_to_platform(token, data, picture):
picture_data = picture_file.read()
base64_encoded_picture = base64.b64encode(picture_data).decode("utf-8")
print(base64_encoded_picture)
# print(base64_encoded_picture)
# 更新数据字典,添加 Base64 编码的图片
data["final_image"] = base64_encoded_picture