Commit 79bfa6ed by 岳巧源

add alter table

parent 1145a6dc
Showing with 7 additions and 3 deletions
...@@ -15,3 +15,6 @@ create index sku_id_index on lie_shop_push_sku_log(sku_id); ...@@ -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_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
...@@ -11,7 +11,7 @@ def main(): ...@@ -11,7 +11,7 @@ def main():
sku_id = 100143613954 sku_id = 100143613954
param = { param = {
"skuId": sku_id, "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) 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))
...@@ -42,4 +42,4 @@ def get_goods_info(): ...@@ -42,4 +42,4 @@ def get_goods_info():
print(json.dumps(ans, ensure_ascii=False)) print(json.dumps(ans, ensure_ascii=False))
if __name__ == '__main__': if __name__ == '__main__':
get_goods_info() main()
\ No newline at end of file \ No newline at end of file
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