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
6ea6df2b
authored
Oct 13, 2024
by
larosa
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add test
parent
3832edb2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
test.py
test.py
View file @
6ea6df2b
...
...
@@ -12,6 +12,10 @@ def post_to_jd():
"warranty"
:
"无质保"
,
"model"
:
"MAC12DG-PRICE-LAROSA111"
,
"cid1"
:
33556
,
"weight"
:
1
,
# 非盖亚必填
"height"
:
1
,
# 非盖亚必填
"length"
:
1
,
# 非盖亚必填
"width"
:
1
,
# 非盖亚必填
"brand_id"
:
388118
,
"name"
:
"TE connectivity 薄膜电阻 MAC12DG-PRICE-LAROSA111 100个"
,
"pack_type"
:
1
,
...
...
@@ -21,9 +25,9 @@ def post_to_jd():
"purchase_price"
:
90.0036
,
"saler_code"
:
"gonglingzhe1"
,
"purchaser_code"
:
"gonglingzhe1"
,
"prop_id"
:
"232935,232969,232953,232988"
,
# 属性id
"prop_remark"
:
"MAC12DG-PRICE-TEST,±0.01
%
,-55°C ~ 155°C,10 kOhms"
,
# 属性数值,文本等
# "prop_vid": "
", # 属性单选值id
"prop_id"
:
"232935,232969,232953,232988
,270353,270354
"
,
# 属性id
"prop_remark"
:
"MAC12DG-PRICE-TEST,±0.01
%
,-55°C ~ 155°C,10 kOhms
,20,
"
,
# 属性数值,文本等
"prop_vid"
:
",,,,,1639265
"
,
# 属性单选值id
# "prop_values": "", # 属性多选值id
"ext_id"
:
"232650"
,
# 拓展属性id
"ext_values"
:
"1343768"
,
# 拓展值id
...
...
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