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
45f7bdd1
Commit
45f7bdd1
authored
Jun 20, 2025
by
baiquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
2ed33b7c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
task_worker.py
+4
-0
No files found.
task_worker.py
View file @
45f7bdd1
...
@@ -167,8 +167,12 @@ def execute_generate_a_bogus(params:str | dict,data: dict,ua: str):
...
@@ -167,8 +167,12 @@ def execute_generate_a_bogus(params:str | dict,data: dict,ua: str):
js_code
=
f
.
read
()
js_code
=
f
.
read
()
# 执行加密算法
# 执行加密算法
ctx
=
execjs
.
compile
(
js_code
)
ctx
=
execjs
.
compile
(
js_code
)
logger
.
info
(
f
'params: {params}'
)
logger
.
info
(
f
'params_type: {type(params)}'
)
if
type
(
params
)
==
dict
:
if
type
(
params
)
==
dict
:
params
=
urlencode
(
params
)
params
=
urlencode
(
params
)
logger
.
info
(
f
'data: {data}'
)
logger
.
info
(
f
'data_type: {type(data)}'
)
data
=
json
.
dumps
(
data
)
data
=
json
.
dumps
(
data
)
result
=
ctx
.
call
(
'get_ab'
,
params
,
data
,
ua
)
result
=
ctx
.
call
(
'get_ab'
,
params
,
data
,
ua
)
return
{
return
{
...
...
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