Commit 90bba0cc by 岳巧源

create activity

parent f9d5f80c
Showing with 7 additions and 5 deletions
......@@ -441,7 +441,8 @@ def modify_vc_purchase_price():
"""
def create_vc_promotion():
method_name = "jingdong.promo.activity.create"
token = "845ce8478b074103b9e78a769d5fa4831y2u"
# token = "845ce8478b074103b9e78a769d5fa4831y2u"
token = "8a4a6810c5834412b8d4692dbf80cf9b0yty"
app_key = "CA52430E90209F51D8F5D7B615DDE9AD"
app_secret = "c92691b2379c48de87e699c4c2f7fb32"
param = {
......@@ -456,10 +457,11 @@ def create_vc_promotion():
"name": "内部促销活动测试",
"type": 26,
"beginTime": "2024-11-05 00:14:00",
"endTime": "2024-11-05 06:14:00",
"endTime": "2024-11-15 10:42:00",
"bound": 1,
"venderType": 1,
"venderId": 10457263
# "venderId": 10457263
"venderId": 1000511925
},
"activityScopeDTO": {
"@type": "com.jd.promo.activity.sdk.model.ActivityScopeDTO",
......@@ -539,4 +541,4 @@ def delete_vc_activity():
if __name__ == '__main__':
set_vc_init_stock_and_delivery(stock_num=11, delivery_day=11, ware_id=100153434044)
\ No newline at end of file
create_vc_promotion()
\ 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