Commit ce76a77a by 岳巧源

add test5

parent d0390e77
Showing with 21 additions and 0 deletions
# 设置履约时效
import json
from common import request_to_jd_vc
def main():
method_name = "jingdong.Timeless.Service.SkuTimeless.modify"
token = "845ce8478b074103b9e78a769d5fa4831y2u"
app_key = "CA52430E90209F51D8F5D7B615DDE9AD"
app_secret = "c92691b2379c48de87e699c4c2f7fb32"
sku_id = 100143308870
param = {
"skuId": sku_id,
"deliveryDays": 2,
}
ans = request_to_jd_vc(method_name=method_name, token=token, app_key=app_key, app_secret=app_secret, param=param)
print(json.dumps(ans, ensure_ascii=False))
if __name__ == '__main__':
main()
\ 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