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
c37cfdcf
authored
Nov 15, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
create
parent
bd1b6010
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
vc.py
vc.py
View file @
c37cfdcf
...
...
@@ -457,7 +457,7 @@ def create_vc_promotion():
"name"
:
"内部促销活动测试"
,
"type"
:
1
,
"beginTime"
:
"2024-11-05 00:14:00"
,
"endTime"
:
"2024-11-15 1
1
:50:00"
,
"endTime"
:
"2024-11-15 1
4
:50:00"
,
"bound"
:
1
,
"extType"
:
15
,
"venderType"
:
1
,
...
...
@@ -495,7 +495,7 @@ def vc_promotion_add_sku():
"@type"
:
"com.jd.promo.activity.sdk.model.ActivityParticipantDTO"
,
"bound"
:
1
,
"bindType"
:
1
,
"activityId"
:
63137
68814
6
,
"activityId"
:
63137
44806
6
,
"activitySkuDTOList"
:
[
{
"@type"
:
"com.jd.promo.activity.sdk.model.ActivitySkuDTO"
,
...
...
@@ -523,7 +523,7 @@ def commit_vc_activity():
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
param
=
{
"activityId"
:
3000001
"activityId"
:
63137448066
}
ans
=
request_to_jd_vc
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
print
(
json
.
dumps
(
ans
,
ensure_ascii
=
False
))
...
...
@@ -543,4 +543,4 @@ def delete_vc_activity():
if
__name__
==
'__main__'
:
delete_vc_activity
()
\ No newline at end of file
commit_vc_activity
()
\ 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