Commit d85dcc7c by 岳巧源

add vc

parent cf973a89
Showing with 27 additions and 8 deletions
......@@ -456,8 +456,8 @@ def create_vc_promotion():
"@type": "com.jd.promo.activity.sdk.model.ActivityBaseDTO",
"name": "内部促销活动测试",
"type": 26,
"beginTime": "2024-11-15 00:14:00",
"endTime": "2024-11-18 18:50:00",
"beginTime": "2024-11-18 00:00:00",
"endTime": "2024-11-21 00:00:00",
"bound": 1,
"extType": 9302,
"venderType": 1,
......@@ -470,7 +470,7 @@ def create_vc_promotion():
"rebate": "9",
},
"preConditionDTO": {
"needNum": 10,
"needNum": 9,
},
"level": 1,
},
......@@ -479,7 +479,7 @@ def create_vc_promotion():
"rebate": "8",
},
"preConditionDTO": {
"needNum": 20,
"needNum": 99,
},
"level": 2,
},
......@@ -488,9 +488,27 @@ def create_vc_promotion():
"rebate": "7",
},
"preConditionDTO": {
"needNum": 30,
"needNum": 999,
},
"level": 3,
},
{
"discountDTO": {
"rebate": "6",
},
"preConditionDTO": {
"needNum": 9999,
},
"level": 4,
},
{
"discountDTO": {
"rebate": "5",
},
"preConditionDTO": {
"needNum": 99999,
},
"level": 5,
}
],
"activityScopeDTO": {
......@@ -501,7 +519,7 @@ def create_vc_promotion():
},
"activitySkuDTOList": [
{
"skuId": 100154956776,
"skuId": 100156428022,
"skuBindType": 1,
}
],
......@@ -582,4 +600,5 @@ def delete_vc_activity():
if __name__ == '__main__':
create_vc_promotion()
\ No newline at end of file
# create_vc_promotion()
modify_vc_stock_num(100001, 100156621732)
\ 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