Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
A
aidso-data
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yaowentong
aidso-data
Commits
2c4c0b22
Commit
2c4c0b22
authored
Jul 16, 2026
by
Yaowentong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复豆包网页版本数据
parent
8da85c3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
43 deletions
+27
-43
process.py
aidso_geo/models/process.py
+27
-43
No files found.
aidso_geo/models/process.py
View file @
2c4c0b22
...
...
@@ -1697,48 +1697,32 @@ def platform_process(data):
# -------------
process_func
=
PLATFORM_PROCESS_MAP
.
get
(
platform
)
if
process_func
:
if
not
channel
:
if
check_file_in_tos
(
context_path
):
response_content
=
tos_utils
.
get_string_from_tos
(
context_path
)
elif
process_func
:
_
,
_
,
_
,
_
,
response_content
,
_
=
process_func
(
data
)
# -------------
if
response_content
:
result_v2
(
response_content
,
data
)
else
:
scheduler
(
data
)
# if check_file_in_tos(context_path):
# response_content = tos_utils.get_string_from_tos(context_path)
# elif process_func:
# _, _, _, _, response_content, _ = process_func(data)
# # -------------
# if response_content:
# result_v2(response_content, data)
# else:
# scheduler(data)
# if not channel:
# if check_file_in_tos(context_path):
# response_content = tos_utils.get_string_from_tos(context_path)
# elif process_func:
# _, _, _, _, response_content, _ = process_func(data)
# # -------------
# if response_content:
# result_v2(response_content, data)
# else:
# scheduler(data)
# else:
# _, _, _, _, response_content, _ = process_func(data)
# if response_content:
# commit_task(data, 'SUCCESS')
# resp_cache_key = f"geo:task_check:resp:{reqId}"
# resp = {
# "code": 200,
# "msg": "success",
# "data": {
# "status": 'ING',
# "result": {}
# }
# }
# _cache_set_json(resp_cache_key, resp, 1)
# else:
# scheduler(data)
else
:
_
,
_
,
_
,
_
,
response_content
,
_
=
process_func
(
data
)
if
response_content
:
commit_task
(
data
,
'SUCCESS'
)
resp_cache_key
=
f
"geo:task_check:resp:{reqId}"
resp
=
{
"code"
:
200
,
"msg"
:
"success"
,
"data"
:
{
"status"
:
'ING'
,
"result"
:
{}
}
}
_cache_set_json
(
resp_cache_key
,
resp
,
1
)
else
:
scheduler
(
data
)
return
True
except
Exception
as
e
:
...
...
@@ -2031,8 +2015,8 @@ if __name__ == '__main__':
type_t
=
i
.
get
(
'type'
)
# type_t = 'batch'
# commit_task(i,'ING')
return
task_send_queue
(
i
,
type_t
)
#
return platform_process(i)
#
return task_send_queue(i,type_t)
return
platform_process
(
i
)
#
if
data_list
:
with
ThreadPoolExecutor
(
max_workers
=
50
)
as
executor
:
...
...
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