Commit a17d2984 by 岳巧源

add vc

parent c37cfdcf
Showing with 5 additions and 5 deletions
...@@ -455,11 +455,11 @@ def create_vc_promotion(): ...@@ -455,11 +455,11 @@ def create_vc_promotion():
"activityBaseDTO": { "activityBaseDTO": {
"@type": "com.jd.promo.activity.sdk.model.ActivityBaseDTO", "@type": "com.jd.promo.activity.sdk.model.ActivityBaseDTO",
"name": "内部促销活动测试", "name": "内部促销活动测试",
"type": 1, "type": 26,
"beginTime": "2024-11-05 00:14:00", "beginTime": "2024-11-05 00:14:00",
"endTime": "2024-11-15 14:50:00", "endTime": "2024-11-15 18:50:00",
"bound": 1, "bound": 1,
"extType": 15, "extType": 9301,
"venderType": 1, "venderType": 1,
# "venderId": 10457263 # "venderId": 10457263
"venderId": 1000511925 "venderId": 1000511925
...@@ -519,13 +519,13 @@ def vc_promotion_add_sku(): ...@@ -519,13 +519,13 @@ def vc_promotion_add_sku():
""" """
def commit_vc_activity(): def commit_vc_activity():
method_name = "jingdong.promo.activity.commit" method_name = "jingdong.promo.activity.commit"
token = "845ce8478b074103b9e78a769d5fa4831y2u" token = "8a4a6810c5834412b8d4692dbf80cf9b0yty"
app_key = "CA52430E90209F51D8F5D7B615DDE9AD" app_key = "CA52430E90209F51D8F5D7B615DDE9AD"
app_secret = "c92691b2379c48de87e699c4c2f7fb32" app_secret = "c92691b2379c48de87e699c4c2f7fb32"
param = { param = {
"activityId": 63137448066 "activityId": 63137448066
} }
ans = request_to_jd_vc(method_name, token, app_key, app_secret, param) ans = request_to_jd_vc_dev(method_name, token, app_key, app_secret, param)
print(json.dumps(ans, ensure_ascii=False)) print(json.dumps(ans, ensure_ascii=False))
......
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