Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
jd_data_process
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
789b248f
authored
Nov 15, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add vc
parent
a17d2984
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
2 deletions
vc.py
vc.py
View file @
789b248f
...
...
@@ -459,19 +459,54 @@ def create_vc_promotion():
"beginTime"
:
"2024-11-05 00:14:00"
,
"endTime"
:
"2024-11-15 18:50:00"
,
"bound"
:
1
,
"extType"
:
930
1
,
"extType"
:
930
2
,
"venderType"
:
1
,
# "venderId": 10457263
"venderId"
:
1000511925
},
"activityRuleDTOList"
:
[
{
"discountDTO"
:
{
"rebate"
:
"9"
,
},
"preConditionDTO"
:
{
"needNum"
:
2
,
},
"level"
:
1
,
},
{
"discountDTO"
:
{
"rebate"
:
"8.6"
,
},
"preConditionDTO"
:
{
"needNum"
:
4
,
},
"level"
:
2
,
},
{
"discountDTO"
:
{
"rebate"
:
"8.2"
,
},
"preConditionDTO"
:
{
"needNum"
:
5
,
},
"level"
:
3
,
}
],
"activityScopeDTO"
:
{
"@type"
:
"com.jd.promo.activity.sdk.model.ActivityScopeDTO"
,
"channelList"
:
[
"1"
,
],
},
"activitySkuDTOList"
:
[
{
"skuId"
:
100124748677
,
"skuBindType"
:
1
,
}
],
},
"stepSubmit"
:
Tru
e
"stepSubmit"
:
Fals
e
}
}
ans
=
request_to_jd_vc_dev
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
...
...
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