Commit 789b248f by 岳巧源

add vc

parent a17d2984
Showing with 37 additions and 2 deletions
...@@ -459,19 +459,54 @@ def create_vc_promotion(): ...@@ -459,19 +459,54 @@ def create_vc_promotion():
"beginTime": "2024-11-05 00:14:00", "beginTime": "2024-11-05 00:14:00",
"endTime": "2024-11-15 18:50:00", "endTime": "2024-11-15 18:50:00",
"bound": 1, "bound": 1,
"extType": 9301, "extType": 9302,
"venderType": 1, "venderType": 1,
# "venderId": 10457263 # "venderId": 10457263
"venderId": 1000511925 "venderId": 1000511925
}, },
"activityRuleDTOList": [
{
"discountDTO": {
"rebate": "9",
},
"preConditionDTO": {
"needNum": 2,
},
"level": 1,
},
{
"discountDTO": {
"rebate": "8.6",
},
"preConditionDTO": {
"needNum": 4,
},
"level": 2,
},
{
"discountDTO": {
"rebate": "8.2",
},
"preConditionDTO": {
"needNum": 5,
},
"level": 3,
}
],
"activityScopeDTO": { "activityScopeDTO": {
"@type": "com.jd.promo.activity.sdk.model.ActivityScopeDTO", "@type": "com.jd.promo.activity.sdk.model.ActivityScopeDTO",
"channelList": [ "channelList": [
"1", "1",
], ],
}, },
"activitySkuDTOList": [
{
"skuId": 100124748677,
"skuBindType": 1,
}
],
}, },
"stepSubmit": True "stepSubmit": False
} }
} }
ans = request_to_jd_vc_dev(method_name, token, app_key, app_secret, param) ans = request_to_jd_vc_dev(method_name, token, app_key, app_secret, param)
......
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