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
d85dcc7c
authored
Nov 19, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add vc
parent
cf973a89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
8 deletions
vc.py
vc.py
View file @
d85dcc7c
...
@@ -456,8 +456,8 @@ def create_vc_promotion():
...
@@ -456,8 +456,8 @@ def create_vc_promotion():
"@type"
:
"com.jd.promo.activity.sdk.model.ActivityBaseDTO"
,
"@type"
:
"com.jd.promo.activity.sdk.model.ActivityBaseDTO"
,
"name"
:
"内部促销活动测试"
,
"name"
:
"内部促销活动测试"
,
"type"
:
26
,
"type"
:
26
,
"beginTime"
:
"2024-11-1
5 00:14
:00"
,
"beginTime"
:
"2024-11-1
8 00:00
:00"
,
"endTime"
:
"2024-11-
18 18:5
0:00"
,
"endTime"
:
"2024-11-
21 00:0
0:00"
,
"bound"
:
1
,
"bound"
:
1
,
"extType"
:
9302
,
"extType"
:
9302
,
"venderType"
:
1
,
"venderType"
:
1
,
...
@@ -470,7 +470,7 @@ def create_vc_promotion():
...
@@ -470,7 +470,7 @@ def create_vc_promotion():
"rebate"
:
"9"
,
"rebate"
:
"9"
,
},
},
"preConditionDTO"
:
{
"preConditionDTO"
:
{
"needNum"
:
10
,
"needNum"
:
9
,
},
},
"level"
:
1
,
"level"
:
1
,
},
},
...
@@ -479,7 +479,7 @@ def create_vc_promotion():
...
@@ -479,7 +479,7 @@ def create_vc_promotion():
"rebate"
:
"8"
,
"rebate"
:
"8"
,
},
},
"preConditionDTO"
:
{
"preConditionDTO"
:
{
"needNum"
:
20
,
"needNum"
:
99
,
},
},
"level"
:
2
,
"level"
:
2
,
},
},
...
@@ -488,9 +488,27 @@ def create_vc_promotion():
...
@@ -488,9 +488,27 @@ def create_vc_promotion():
"rebate"
:
"7"
,
"rebate"
:
"7"
,
},
},
"preConditionDTO"
:
{
"preConditionDTO"
:
{
"needNum"
:
30
,
"needNum"
:
999
,
},
},
"level"
:
3
,
"level"
:
3
,
},
{
"discountDTO"
:
{
"rebate"
:
"6"
,
},
"preConditionDTO"
:
{
"needNum"
:
9999
,
},
"level"
:
4
,
},
{
"discountDTO"
:
{
"rebate"
:
"5"
,
},
"preConditionDTO"
:
{
"needNum"
:
99999
,
},
"level"
:
5
,
}
}
],
],
"activityScopeDTO"
:
{
"activityScopeDTO"
:
{
...
@@ -501,7 +519,7 @@ def create_vc_promotion():
...
@@ -501,7 +519,7 @@ def create_vc_promotion():
},
},
"activitySkuDTOList"
:
[
"activitySkuDTOList"
:
[
{
{
"skuId"
:
10015
4956776
,
"skuId"
:
10015
6428022
,
"skuBindType"
:
1
,
"skuBindType"
:
1
,
}
}
],
],
...
@@ -582,4 +600,5 @@ def delete_vc_activity():
...
@@ -582,4 +600,5 @@ def delete_vc_activity():
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
create_vc_promotion
()
# create_vc_promotion()
\ No newline at end of file
modify_vc_stock_num
(
100001
,
100156621732
)
\ No newline at end of file
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