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
9f96ca9a
authored
Nov 04, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add vc price
parent
7e076698
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
vc.py
vc.py
View file @
9f96ca9a
...
@@ -392,20 +392,17 @@ def modify_jd_vc_market_price():
...
@@ -392,20 +392,17 @@ def modify_jd_vc_market_price():
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
param
=
{
param
=
{
"operateRequest"
:
{
"operateRequest"
:
{
"appReason"
:
"调整价格测试"
,
"skuPriceInfo"
:
{
"skuPriceInfo"
:
{
"@type"
:
"com.jd.promotion.external.sdk.request.SkuPriceInfo"
,
"site"
:
301
,
"site"
:
301
,
"marketPrice"
:
1
43
.30
,
"marketPrice"
:
1
99
.30
,
"salePrice"
:
1
31
.18
,
"salePrice"
:
1
88
.18
,
"skuId"
:
1001
24748677
,
"skuId"
:
1001
51433074
,
},
},
"venderInfo"
:
{
"venderInfo"
:
{
"@type"
:
"com.jd.promotion.external.sdk.request.VenderInfo"
,
"supplierCode"
:
"ichunt"
,
"supplierCode"
:
"10457263"
,
"applicant"
:
"yqy"
,
"appReason"
:
"调整价格测试"
,
},
},
"applicant"
:
"ichunt"
,
"appReason"
:
"调整价格测试"
,
}
}
}
}
ans
=
request_to_jd_vc
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
ans
=
request_to_jd_vc
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
...
@@ -540,9 +537,4 @@ def delete_vc_activity():
...
@@ -540,9 +537,4 @@ def delete_vc_activity():
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
# modify_jd_vc_market_price()
modify_jd_vc_market_price
()
# modify_vc_purchase_price()
\ No newline at end of file
# create_vc_promotion()
# get_vc_goods_info("100124748677")
# vc_promotion_add_sku()
delete_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