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
24b2b4a1
authored
Oct 13, 2024
by
larosa
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
6ea6df2b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
README.md
lie_shop_attr.sql
test2.py
README.md
View file @
24b2b4a1
...
...
@@ -15,4 +15,7 @@ rabbit_mq的 consumer\
同时还需要在redis中拿到猎芯分类id,品牌id等,根据分类id,品牌id去映射到京东的分类id,品牌id等等。
\
同时映射好参数属性等等。
-----------------------------------------------------------------------------------------
发品注意事项:
weight是必填的参数
lie_shop_attr.sql
View file @
24b2b4a1
This diff is collapsed.
Click to expand it.
test2.py
0 → 100644
View file @
24b2b4a1
import
json
from
common
import
request_to_jd_vc
if
__name__
==
'__main__'
:
# 请求京东平台 获取分类下的属性(vc接口)
method_name
=
"jingdong.vc.item.props.find"
token
=
"845ce8478b074103b9e78a769d5fa4831y2u"
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
param
=
{
"category_leaf_id"
:
33556
}
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
))
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