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
90bba0cc
authored
Nov 15, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
create activity
parent
f9d5f80c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
vc.py
vc.py
View file @
90bba0cc
...
@@ -441,7 +441,8 @@ def modify_vc_purchase_price():
...
@@ -441,7 +441,8 @@ def modify_vc_purchase_price():
"""
"""
def
create_vc_promotion
():
def
create_vc_promotion
():
method_name
=
"jingdong.promo.activity.create"
method_name
=
"jingdong.promo.activity.create"
token
=
"845ce8478b074103b9e78a769d5fa4831y2u"
# token = "845ce8478b074103b9e78a769d5fa4831y2u"
token
=
"8a4a6810c5834412b8d4692dbf80cf9b0yty"
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
param
=
{
param
=
{
...
@@ -456,10 +457,11 @@ def create_vc_promotion():
...
@@ -456,10 +457,11 @@ def create_vc_promotion():
"name"
:
"内部促销活动测试"
,
"name"
:
"内部促销活动测试"
,
"type"
:
26
,
"type"
:
26
,
"beginTime"
:
"2024-11-05 00:14:00"
,
"beginTime"
:
"2024-11-05 00:14:00"
,
"endTime"
:
"2024-11-
05 06:14
:00"
,
"endTime"
:
"2024-11-
15 10:42
:00"
,
"bound"
:
1
,
"bound"
:
1
,
"venderType"
:
1
,
"venderType"
:
1
,
"venderId"
:
10457263
# "venderId": 10457263
"venderId"
:
1000511925
},
},
"activityScopeDTO"
:
{
"activityScopeDTO"
:
{
"@type"
:
"com.jd.promo.activity.sdk.model.ActivityScopeDTO"
,
"@type"
:
"com.jd.promo.activity.sdk.model.ActivityScopeDTO"
,
...
@@ -539,4 +541,4 @@ def delete_vc_activity():
...
@@ -539,4 +541,4 @@ def delete_vc_activity():
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
set_vc_init_stock_and_delivery
(
stock_num
=
11
,
delivery_day
=
11
,
ware_id
=
100153434044
)
create_vc_promotion
()
\ No newline at end of file
\ 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