Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
doudian-py
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiquan
doudian-py
Commits
7b974690
Commit
7b974690
authored
Aug 04, 2025
by
baiquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(upload): 为上传回调数据添加 call_back_key 字段
- 在回调数据中增加 call_back_key 字段,用于标识回调来源 - 该字段的值从任务对象中获取,如果不存在则默认为空字符串
parent
f5499d74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
service/upload_image_and_video.py
+2
-1
No files found.
service/upload_image_and_video.py
View file @
7b974690
...
...
@@ -260,7 +260,8 @@ async def uploadImageAndVideo(task: dict = None):
"images"
:
image_dict
,
"description"
:
description_dict
,
"video_list"
:
video_dict
,
"error_msg"
:
error_msg
"error_msg"
:
error_msg
,
"call_back_key"
:
task
.
get
(
'call_back_key'
,
""
),
# "type": 2
}
callback_str
=
json
.
dumps
(
callback_data
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment