Commit 184b130c by 岳巧源

add tmp.txt

parent d1f077e3
Showing with 15 additions and 4 deletions
...@@ -379,4 +379,9 @@ ...@@ -379,4 +379,9 @@
=====update audit status, apply_id: b1b31900dca84316b3b9bb4bb579c174===========> =====update audit status, apply_id: b1b31900dca84316b3b9bb4bb579c174===========>
=====update audit status, apply_id: 7b160b83aa5944c3b15a6655eb404be5===========> =====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_" .\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,6 +391,7 @@ def modify_jd_vc_market_price(): ...@@ -391,6 +391,7 @@ def modify_jd_vc_market_price():
app_key = "CA52430E90209F51D8F5D7B615DDE9AD" app_key = "CA52430E90209F51D8F5D7B615DDE9AD"
app_secret = "c92691b2379c48de87e699c4c2f7fb32" app_secret = "c92691b2379c48de87e699c4c2f7fb32"
param = { param = {
"operateRequest": {
"appReason": "调整价格测试", "appReason": "调整价格测试",
"skuPriceInfo": { "skuPriceInfo": {
"@type": "com.jd.promotion.external.sdk.request.SkuPriceInfo", "@type": "com.jd.promotion.external.sdk.request.SkuPriceInfo",
...@@ -406,6 +407,7 @@ def modify_jd_vc_market_price(): ...@@ -406,6 +407,7 @@ def modify_jd_vc_market_price():
"appReason": "调整价格测试", "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)
print(json.dumps(ans, ensure_ascii=False)) print(json.dumps(ans, ensure_ascii=False))
...@@ -428,11 +430,14 @@ def modify_vc_purchase_price(): ...@@ -428,11 +430,14 @@ def modify_vc_purchase_price():
"currency": "RMB", "currency": "RMB",
"sku": 100124748677, "sku": 100124748677,
} }
] ],
"clientInfo": {
}
} }
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)
print(json.dumps(ans, ensure_ascii=False)) print(json.dumps(ans, ensure_ascii=False))
if __name__ == '__main__': if __name__ == '__main__':
modify_jd_vc_market_price() # modify_jd_vc_market_price()
# modify_vc_purchase_price() modify_vc_purchase_price()
\ No newline at end of file \ 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