Commit 184b130c by 岳巧源

add tmp.txt

parent d1f077e3
Showing with 28 additions and 17 deletions
......@@ -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
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment