Commit 6ea6df2b by larosa

add test

parent 3832edb2
Showing with 7 additions and 3 deletions
...@@ -12,6 +12,10 @@ def post_to_jd(): ...@@ -12,6 +12,10 @@ def post_to_jd():
"warranty": "无质保", "warranty": "无质保",
"model": "MAC12DG-PRICE-LAROSA111", "model": "MAC12DG-PRICE-LAROSA111",
"cid1": 33556, "cid1": 33556,
"weight": 1, # 非盖亚必填
"height": 1, # 非盖亚必填
"length": 1, # 非盖亚必填
"width": 1, # 非盖亚必填
"brand_id": 388118, "brand_id": 388118,
"name": "TE connectivity 薄膜电阻 MAC12DG-PRICE-LAROSA111 100个", "name": "TE connectivity 薄膜电阻 MAC12DG-PRICE-LAROSA111 100个",
"pack_type": 1, "pack_type": 1,
...@@ -21,9 +25,9 @@ def post_to_jd(): ...@@ -21,9 +25,9 @@ def post_to_jd():
"purchase_price": 90.0036, "purchase_price": 90.0036,
"saler_code": "gonglingzhe1", "saler_code": "gonglingzhe1",
"purchaser_code": "gonglingzhe1", "purchaser_code": "gonglingzhe1",
"prop_id": "232935,232969,232953,232988", # 属性id "prop_id": "232935,232969,232953,232988,270353,270354", # 属性id
"prop_remark": "MAC12DG-PRICE-TEST,±0.01%,-55°C ~ 155°C,10 kOhms", # 属性数值,文本等 "prop_remark": "MAC12DG-PRICE-TEST,±0.01%,-55°C ~ 155°C,10 kOhms,20,", # 属性数值,文本等
# "prop_vid": "", # 属性单选值id "prop_vid": ",,,,,1639265", # 属性单选值id
# "prop_values": "", # 属性多选值id # "prop_values": "", # 属性多选值id
"ext_id": "232650", # 拓展属性id "ext_id": "232650", # 拓展属性id
"ext_values": "1343768", # 拓展值id "ext_values": "1343768", # 拓展值id
......
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