Commit c37cfdcf by 岳巧源

create

parent bd1b6010
Showing with 5 additions and 5 deletions
...@@ -457,7 +457,7 @@ def create_vc_promotion(): ...@@ -457,7 +457,7 @@ def create_vc_promotion():
"name": "内部促销活动测试", "name": "内部促销活动测试",
"type": 1, "type": 1,
"beginTime": "2024-11-05 00:14:00", "beginTime": "2024-11-05 00:14:00",
"endTime": "2024-11-15 11:50:00", "endTime": "2024-11-15 14:50:00",
"bound": 1, "bound": 1,
"extType": 15, "extType": 15,
"venderType": 1, "venderType": 1,
...@@ -495,7 +495,7 @@ def vc_promotion_add_sku(): ...@@ -495,7 +495,7 @@ def vc_promotion_add_sku():
"@type": "com.jd.promo.activity.sdk.model.ActivityParticipantDTO", "@type": "com.jd.promo.activity.sdk.model.ActivityParticipantDTO",
"bound": 1, "bound": 1,
"bindType": 1, "bindType": 1,
"activityId": 63137688146, "activityId": 63137448066,
"activitySkuDTOList": [ "activitySkuDTOList": [
{ {
"@type": "com.jd.promo.activity.sdk.model.ActivitySkuDTO", "@type": "com.jd.promo.activity.sdk.model.ActivitySkuDTO",
...@@ -523,7 +523,7 @@ def commit_vc_activity(): ...@@ -523,7 +523,7 @@ def commit_vc_activity():
app_key = "CA52430E90209F51D8F5D7B615DDE9AD" app_key = "CA52430E90209F51D8F5D7B615DDE9AD"
app_secret = "c92691b2379c48de87e699c4c2f7fb32" app_secret = "c92691b2379c48de87e699c4c2f7fb32"
param = { param = {
"activityId": 3000001 "activityId": 63137448066
} }
ans = request_to_jd_vc(method_name, token, app_key, app_secret, param) ans = request_to_jd_vc(method_name, token, app_key, app_secret, param)
print(json.dumps(ans, ensure_ascii=False)) print(json.dumps(ans, ensure_ascii=False))
...@@ -543,4 +543,4 @@ def delete_vc_activity(): ...@@ -543,4 +543,4 @@ def delete_vc_activity():
if __name__ == '__main__': if __name__ == '__main__':
delete_vc_activity() commit_vc_activity()
\ 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