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
a17d2984
authored
Nov 15, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add vc
parent
c37cfdcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
vc.py
vc.py
View file @
a17d2984
...
...
@@ -455,11 +455,11 @@ def create_vc_promotion():
"activityBaseDTO"
:
{
"@type"
:
"com.jd.promo.activity.sdk.model.ActivityBaseDTO"
,
"name"
:
"内部促销活动测试"
,
"type"
:
1
,
"type"
:
26
,
"beginTime"
:
"2024-11-05 00:14:00"
,
"endTime"
:
"2024-11-15 1
4
:50:00"
,
"endTime"
:
"2024-11-15 1
8
:50:00"
,
"bound"
:
1
,
"extType"
:
15
,
"extType"
:
9301
,
"venderType"
:
1
,
# "venderId": 10457263
"venderId"
:
1000511925
...
...
@@ -519,13 +519,13 @@ def vc_promotion_add_sku():
"""
def
commit_vc_activity
():
method_name
=
"jingdong.promo.activity.commit"
token
=
"8
45ce8478b074103b9e78a769d5fa4831y2u
"
token
=
"8
a4a6810c5834412b8d4692dbf80cf9b0yty
"
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
param
=
{
"activityId"
:
63137448066
}
ans
=
request_to_jd_vc
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
ans
=
request_to_jd_vc
_dev
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
print
(
json
.
dumps
(
ans
,
ensure_ascii
=
False
))
...
...
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