- 调用【创建代金券批次API】,available_time_after_receive字段不生效?
https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks 请求参数: {"available_begin_time":"2020-09-09T10:12:35.000+08:00","available_end_time":"2020-09-11T00:00:00.000+08:00","belong_merchant":"1575832071","coupon_use_rule":{"available_merchants":["1575832071","1575832071"],"coupon_available_time":{"available_time_after_receive":30,"second_day_available":true},"fixed_normal_coupon":{"coupon_amount":1199,"transaction_minimum":1200}},"no_cash":true,"out_request_no":"15758320711599617458329","stock_name":"30分钟生效券12","stock_type":"NORMAL","stock_use_rule":{"max_amount":14388,"max_coupons":12,"max_coupons_per_user":60,"natural_person_limit":true,"prevent_api_abuse":true}} 响应数据:{"create_time":"2020-09-09T10:10:59+08:00","stock_id":"15132083"} 创建代金券成功,但是领取后30分钟,依然可以使用 "available_time_after_receive":30字段没有生效?
2020-09-09 - 调用【创建代金券批次API】,返回:批次发放规则或核销规则有误,请修改后重试?
https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks 返回:{"code":"INVALID_REQUEST","message":"批次发放规则或核销规则有误,请修改后重试"} 请求参数: {"available_begin_time":"2020-09-07T09:45:00.000+08:00","available_end_time":"2020-10-01T00:00:00.000+08:00","belong_merchant":"1575832071","coupon_use_rule":{"available_merchants":["1575832071"],"coupon_available_time":{"fix_available_time":{"available_week_day":[1,2,3,4,5,6,0],"begin_time":15422,"end_time":26942},"second_day_available":false},"fixed_normal_coupon":{"coupon_amount":1899,"transaction_minimum":1900}},"no_cash":true,"out_request_no":"15758320711599442961296","stock_name":"19","stock_type":"NORMAL","stock_use_rule":{"max_amount":36081,"max_coupons":19,"max_coupons_per_user":60,"natural_person_limit":true,"prevent_api_abuse":true}} available_week_day字段只填1天的值就可以,比如[1] 如果传了多天[1,2,3,4,5,6,0]就报错
2020-09-07 - 调用【创建代金券批次API】,返回:批次发放规则或核销规则有误,请修改后重试?
https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks 返回:{"code":"INVALID_REQUEST","message":"批次发放规则或核销规则有误,请修改后重试"} 请求参数: {"available_begin_time":"2020-09-07T09:45:00.000+08:00","available_end_time":"2020-10-01T00:00:00.000+08:00","belong_merchant":"1575832071","coupon_use_rule":{"available_merchants":["1575832071"],"coupon_available_time":{"fix_available_time":{"available_week_day":[1,2,3,4,5,6,0],"begin_time":15422,"end_time":26942},"second_day_available":false},"fixed_normal_coupon":{"coupon_amount":1899,"transaction_minimum":1900}},"no_cash":true,"out_request_no":"15758320711599442961296","stock_name":"19","stock_type":"NORMAL","stock_use_rule":{"max_amount":36081,"max_coupons":19,"max_coupons_per_user":60,"natural_person_limit":true,"prevent_api_abuse":true}} available_week_day字段只填1天的值就可以,比如[1] 如果传了多天[1,2,3,4,5,6,0]就报错
2020-09-07 - 新建的项目不显示头像、昵称
代码都没有动,直接用开发工具生成的新项目都不会显示昵称,是不是我哪里设置有问题? [图片]
2017-07-05