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
184b130c
authored
Oct 29, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add tmp.txt
parent
d1f077e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
17 deletions
tmp.txt
vc.py
tmp.txt
View file @
184b130c
...
...
@@ -379,4 +379,9 @@
=====update audit status, apply_id: b1b31900dca84316b3b9bb4bb579c174===========>
=====update audit status, apply_id: 7b160b83aa5944c3b15a6655eb404be5===========>
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
.\gf_windows_amd64.exe gen dao -l "mysql:liexin_data_distribution:liexin_data_distribution#zsyM@tcp(192.168.1.238:3306)/liexin_data_distribution" -t "lie_shop_attr" -r "lie_"
\ No newline at end of file
vc.py
View file @
184b130c
...
...
@@ -391,20 +391,22 @@ def modify_jd_vc_market_price():
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
param
=
{
"appReason"
:
"调整价格测试"
,
"skuPriceInfo"
:
{
"@type"
:
"com.jd.promotion.external.sdk.request.SkuPriceInfo"
,
"site"
:
301
,
"marketPrice"
:
143.30
,
"salePrice"
:
131.18
,
"skuId"
:
100124748677
,
},
"venderInfo"
:
{
"@type"
:
"com.jd.promotion.external.sdk.request.VenderInfo"
,
"supplierCode"
:
"10457263"
,
"applicant"
:
"yqy"
,
"operateRequest"
:
{
"appReason"
:
"调整价格测试"
,
},
"skuPriceInfo"
:
{
"@type"
:
"com.jd.promotion.external.sdk.request.SkuPriceInfo"
,
"site"
:
301
,
"marketPrice"
:
143.30
,
"salePrice"
:
131.18
,
"skuId"
:
100124748677
,
},
"venderInfo"
:
{
"@type"
:
"com.jd.promotion.external.sdk.request.VenderInfo"
,
"supplierCode"
:
"10457263"
,
"applicant"
:
"yqy"
,
"appReason"
:
"调整价格测试"
,
},
}
}
ans
=
request_to_jd_vc
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
print
(
json
.
dumps
(
ans
,
ensure_ascii
=
False
))
...
...
@@ -428,11 +430,14 @@ def modify_vc_purchase_price():
"currency"
:
"RMB"
,
"sku"
:
100124748677
,
}
]
],
"clientInfo"
:
{
}
}
ans
=
request_to_jd_vc
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
print
(
json
.
dumps
(
ans
,
ensure_ascii
=
False
))
if
__name__
==
'__main__'
:
modify_jd_vc_market_price
()
# modify_vc_purchase_price()
\ No newline at end of file
# modify_jd_vc_market_price()
modify_vc_purchase_price
()
\ 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