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
558e7af0
authored
Oct 17, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add get audit
parent
ce76a77a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
5 deletions
README.md
test5.py
README.md
View file @
558e7af0
...
@@ -28,4 +28,14 @@ update 更新参数时的注意事项。
...
@@ -28,4 +28,14 @@ update 更新参数时的注意事项。
6.
原来的参数id可能直接删除了
6.
原来的参数id可能直接删除了
在update的时候需要注意 不要从mysql中直接删除数据 采用将 状态从启用改为禁用的方式。
在update的时候需要注意 不要从mysql中直接删除数据 采用将 状态从启用改为禁用的方式。
注意,如果发生更新了,需要把原来的is_mapping 从已映射改为未映射。
注意,如果发生更新了,需要把原来的is_mapping 从已映射改为未映射。
\ No newline at end of file
----------------------------------------------------------------------------------------------
2024.
10.17
1.
eccn检查
2.
审核流程开发
3.
初始化库存,履约时效
4.
数据库字段修改
--------
\ No newline at end of file
test5.py
View file @
558e7af0
...
@@ -8,7 +8,7 @@ def main():
...
@@ -8,7 +8,7 @@ def main():
token
=
"845ce8478b074103b9e78a769d5fa4831y2u"
token
=
"845ce8478b074103b9e78a769d5fa4831y2u"
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
sku_id
=
100143
308870
sku_id
=
100143
613954
param
=
{
param
=
{
"skuId"
:
sku_id
,
"skuId"
:
sku_id
,
"deliveryDays"
:
2
,
"deliveryDays"
:
2
,
...
@@ -16,5 +16,17 @@ def main():
...
@@ -16,5 +16,17 @@ def main():
ans
=
request_to_jd_vc
(
method_name
=
method_name
,
token
=
token
,
app_key
=
app_key
,
app_secret
=
app_secret
,
param
=
param
)
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
))
print
(
json
.
dumps
(
ans
,
ensure_ascii
=
False
))
def
get_audit
():
method_name
=
"jingdong.vc.item.product.apply.get"
token
=
"845ce8478b074103b9e78a769d5fa4831y2u"
app_key
=
"CA52430E90209F51D8F5D7B615DDE9AD"
app_secret
=
"c92691b2379c48de87e699c4c2f7fb32"
apply_id
=
"d31128c505e4403790df49f8b8bdef15"
param
=
{
"applyId"
:
apply_id
}
ans
=
request_to_jd_vc
(
method_name
,
token
,
app_key
,
app_secret
,
param
)
print
(
json
.
dumps
(
ans
,
ensure_ascii
=
False
))
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
main
()
get_audit
()
\ No newline at end of file
\ No newline at end of file
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