收藏
回答

创建微信代金券API报错"活动未开始或已结束"是什么原因?

创建微信代金券API报错"活动未开始或已结束"是什么原因?

2021-10-15 15:39:31 1634283571131880100

file:F:/game_manager/programOL/cdServer/src/cdmanage/wx/coupon/SetWXCoupon.go line:511 func:cdmanage/wx/coupon.setNormalCoupon

 {

"available_begin_time": "2021-10-15T15:45:27.120+08:00",

"available_end_time": "2021-10-16T15:02:27.120+08:00",

"belong_merchant": "1512289481",

"coupon_use_rule": {

"available_merchants": [

"1512289481"

],

"combine_use": false,

"coupon_available_time": {

"available_time_after_receive": 30,

"second_day_available": false

},

"fixed_normal_coupon": {

"coupon_amount": 100,

"transaction_minimum": 101

}

},

"no_cash": true,

"out_request_no": "19k1634283570965357200",

"pattern_info": {

"background_color": "COLOR010",

"coupon_image": "",

"description": "没用",

"merchant_logo": "",

"merchant_name": "测1"

},

"stock_name": "满减1",

"stock_type": "NORMAL",

"stock_use_rule": {

"max_amount": 1000,

"max_amount_by_day": 1000,

"max_coupons": 10,

"max_coupons_per_user": 3,

"natural_person_limit": true,

"prevent_api_abuse": true

}

}


2021-10-15 15:39:31 1634283571476850100

file:F:/game_manager/programOL/cdServer/src/cdmanage/wx/coupon/SetWXCoupon.go line:516 func:cdmanage/wx/coupon.setNormalCoupon

 weChatPayHttpClient Post: https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks err: error http response:[StatusCode: 403 Code: REQUEST_BLOCKED Message: 活动未开始或已结束

]


回答关注问题邀请回答
收藏

1 个回答

  • Memory
    Memory
    2021-10-16

    首先coupon_available_time字段未开放,再者说,你券可用时间只有一天,怎么可能领取后30天有效

    2021-10-16
    有用
    回复
登录 后发表内容