array(11) {
["stock_name"]=>string(10) "测试0401"
["comment"]=>string(10) "测试0401"
["belong_merchant"]=>string(10) "1480984722"
["available_begin_time"]=>string(25) "2023-05-10T00:00:00+08:00"
["available_end_time"]=>string(25) "2023-05-11T00:00:00+08:00"
["stock_use_rule"]=>
array(6) {
["max_coupons"]=>int(5)
["max_amount"]=>int(500)
["max_amount_by_day"]=>int(10000)
["max_coupons_per_user"]=>int(1)
["natural_person_limit"]=>bool(true)
["prevent_api_abuse"]=>bool(true)
}
["pattern_info"]=>
array(5) {
["description"]=>string(16) "测试0401说明"
["merchant_logo"]=>string(0) ""
["merchant_name"]=>string(0) ""
["background_color"]=>string(8) "COLOR020"
["coupon_image"]=>string(0) ""
}
["coupon_use_rule"]=>
array(3) {
["fixed_normal_coupon"]=>
array(2) {
["coupon_amount"]=>int(100)
["transaction_minimum"]=>int(10000)
}
["combine_use"]=>bool(false)
["available_merchants"]=>
array(1) {
[0]=>string(10) "1397399392"
}
}
["no_cash"]=>bool(true)
["stock_type"]=>string(6) "NORMAL"
["out_request_no"]=>string(20) "sc165024057262080000"
}
返回结果:活动未开始或已结束\n
认真比对文档,检查每一个参数后再去调用,代金券创建返回的错误码有些不是字面结果
问题是同样信息之前还可以,现在就不行