- 当前 Bug 的表现(可附上截图)
出现的问题如下:点击立即开卡,不是提交填写信息,而是直接开卡成功,不是跳转型一键激活的页面,而是一键激活的页面
- 预期表现
开卡组件下面的按钮应该是提交按钮,只是提交信息,不是直接激活会员卡
- 复现路径
- 提供一个最简复现 Demo
创建会员卡:
{
"card": {
"member_card": {
"background_pic_url": "http://mmbiz.qpic.cn/mmbiz_png/4253qA10ML0FOgVypj1o6H49UrIMPu4OeL7uxaqzTyE21uibHQUn0X90nkoDEzlBxOfCRNNIic5gJLc1B03IuGvw/0",
"base_info": {
"brand_name": "111111",
"code_type": "CODE_TYPE_BARCODE",
"color": "Color040",
"date_info": {
"type": "DATE_TYPE_PERMANENT"
},
"description": "11111111",
"get_limit": 1,
"logo_url": "http://mmbiz.qpic.cn/mmbiz_png/4253qA10ML0FOgVypj1o6H49UrIMPu4OQ9T1P8yl0H7GXERmcicOE0icmaicymzfOBMudianfibA5VLha72LKvYfOSQ/0",
"notice": "111111111",
"service_phone": "111111",
"sku": {
"quantity": 1111
},
"use_custom_code": false,
"title": "1111111111"
},
"custom_cell1": {
},
"prerogative": "1111111111",
"supply_balance": false,
"supply_bonus": false,
"wx_activate": true,
"wx_activate_after_submit": true,
"activate_app_brand_user_name": "gh_913a5dc4573c@app",
"activate_app_brand_pass":"pages/classify/classify"
},
"card_type": "MEMBER_CARD"
}
}
创建会员卡后 获取card_id:pjQZW5yQ1msnIDLMkbWbabZsmtcA
设置开卡参数:
{
"card_id": "pjQZW5yQ1msnIDLMkbWbabZsmtcA",
"required_form": {
"can_modify": false,
"common_field_id_list": [
"USER_FORM_INFO_FLAG_MOBILE"
]
},
"optional_form": {
"can_modify": true,
"common_field_id_list": [
"USER_FORM_INFO_FLAG_LOCATION",
"USER_FORM_INFO_FLAG_BIRTHDAY"
]
}
}
获取开卡参数:
https:\/\/mp.weixin.qq.com\/bizmall\/activatemembercard?action=preshow&&encrypt_card_id=9zscsw6GT%2BybwAEmcLuR8r4HkuV67QkCom%2FFJTVy%2BNH5C9aUdL9Y6i9ELzpKPMCq&outer_str=123&biz=Mzg4MTE3NDY2OQ%3D%3D#wechat_redirect
你好,支付、卡券相关的问题请移步至微信支付专区https://developers.weixin.qq.com/community/pay提问,我们会有对应同学来处理,此贴先隐藏,请重新发帖咨询。