Commit 76c81c84 by 岳巧源

update jd attr

parent b55f357c
Showing with 1 additions and 0 deletions
...@@ -175,6 +175,7 @@ def update_ext_attr_by_class_ids(conf: dict): ...@@ -175,6 +175,7 @@ def update_ext_attr_by_class_ids(conf: dict):
"category_leaf_id": class_id, "category_leaf_id": class_id,
} }
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("request to jd ....")
if "result" not in ans["jingdong_vc_item_extProps_find_responce"]["jos_result_dto"]: if "result" not in ans["jingdong_vc_item_extProps_find_responce"]["jos_result_dto"]:
continue continue
jd_results = ans["jingdong_vc_item_extProps_find_responce"]["jos_result_dto"]["result"] jd_results = ans["jingdong_vc_item_extProps_find_responce"]["jos_result_dto"]["result"]
......
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