接口创建“立减金”活动Bug
问题表现:
调用接口:https://api.weixin.qq.com/card/mkt/activity/create
创建卡券所使用的服务号是:wxca9e2ecb820f0fbe
参数:
{
“info”: {
“basic_info”: {
“activity_bg_color”: “Color010”,
“activity_tinyappid”: “wxcc21a02ed1e8d480”,
“begin_time”: 1516377600,
“end_time”: 1516550400,
“gift_num”: 5,
“max_partic_times_act”: 1,
“max_partic_times_one_day”: 1,
“mch_code”: “1484467202”
},
“card_info_list”: [{
“card_id”: “pZSWX0vVl-R_NkFAfPJtEcshhFMc”,
“min_amt”: 2,
“total_user”: true
}],
“custom_info”: {
“type”: “AFTER_PAY_PACKAGE”
}
}
}
返回:{“errcode”:268701697,“errmsg”:" hint: [xns2Da0552ha34] appid has no relation with act_sub_mch_id"}
__
__
错误中的 appid 指的是服务号的 appid 对吧?
错误中的 act_sub_mch_id 指的是这次活动的商户号对吧?
我们可以确认这个 act_sub_mch_id(1484467202) 就是 appid(wxca9e2ecb820f0fbe)__ 的所绑定的商户号。那么为什么错误说它们没有关联?______
补充:
接口(
https://api.weixin.qq.com/card/create
)创建的卡券无法添加到活动中;而通过 pay.weixin.qq.com 后台创建的卡券没有问题。
