Commit 558e7af0 by 岳巧源

add get audit

parent ce76a77a
Showing with 27 additions and 5 deletions
...@@ -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
...@@ -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 = 100143308870 sku_id = 100143613954
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
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