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
79bfa6ed
authored
Oct 17, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add alter table
parent
1145a6dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
lie_shop_push_sku_log.sql
test5.py
lie_shop_push_sku_log.sql
View file @
79bfa6ed
...
...
@@ -15,3 +15,6 @@ create index sku_id_index on lie_shop_push_sku_log(sku_id);
alter
table
lie_shop_push_sku_log
add
column
audit_status
tinyint
(
1
)
default
0
not
null
comment
'审核状态,-1:审核失败,1:审核中,2:审核通过'
after
status
;
alter
table
lie_shop_push_sku_log
add
column
audit_failed_msg
varchar
(
512
)
default
''
not
null
comment
'审核失败的原因'
after
resp_body_msg
;
alter
table
lie_shop_push_sku_log
add
column
shop_id
mediumint
unsigned
default
0
not
null
comment
'店铺id'
after
sku_id
;
\ No newline at end of file
test5.py
View file @
79bfa6ed
...
...
@@ -11,7 +11,7 @@ def main():
sku_id
=
100143613954
param
=
{
"skuId"
:
sku_id
,
"deliveryDays"
:
2
,
"deliveryDays"
:
3
,
}
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
))
...
...
@@ -42,4 +42,4 @@ def get_goods_info():
print
(
json
.
dumps
(
ans
,
ensure_ascii
=
False
))
if
__name__
==
'__main__'
:
get_goods_info
()
\ No newline at end of file
main
()
\ 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