Commit 2bfcc981 by 岳巧源

add update ext

parent 9d194747
Showing with 15 additions and 1 deletions
import json
import pymysql
from common import request_to_jd_vc
......@@ -31,8 +33,20 @@ def update_attr(class_id: int):
def update_ext_attr(class_id: int):
pass
method_name = "jingdong.vc.item.extProps.find"
token = "845ce8478b074103b9e78a769d5fa4831y2u"
app_key = "CA52430E90209F51D8F5D7B615DDE9AD"
app_secret = "c92691b2379c48de87e699c4c2f7fb32"
data = request_to_jd_vc(method_name=method_name,
token=token,
app_key=app_key,
app_secret=app_secret,
param={"category_leaf_id": class_id}
)
if __name__ == '__main__':
......
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