1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > 微信卡券会员卡跳转外链php 微信卡券 在卡包中跳转到小程序的字段怎么填写...

微信卡券会员卡跳转外链php 微信卡券 在卡包中跳转到小程序的字段怎么填写...

时间:2022-05-27 07:01:23

相关推荐

微信卡券会员卡跳转外链php 微信卡券 在卡包中跳转到小程序的字段怎么填写...

期望实现的功能微信卡券领取到卡包之后,点立即兑换按钮跳转到小程序

这是官方文档的说明:

卡券内跳转小程序

场景介绍

商户创建卡券时可以将卡、券内的服务入口设置进入小程序服务。

步骤

1.开发者须将小程序绑定在公众号下,绑定说明请见绑定公众号与小程序

2.创建卡券,并将卡内的cell设置小程序对应的path;

3.处理跳转小程序时获取到的信息;

custom_app_brand_user_name 自定义使用入口跳转小程序的user_name,格式为原始id+@app gh_86a091e50ad4@app

custom_app_brand_pass 自定义使用入口小程序页面地址 API/cardPage

center_app_brand_user_name 小程序的user_name gh_86a091e50ad4@app

center_app_brand_pass 自定义居中使用入口小程序页面地址 API/cardPage

{ "card": {

"card_type": "MEMBER_CARD",

"member_card": {

"base_info": {

"custom_url_name": "立即使用",

"custom_url": "",

"custom_app_brand_user_name": "gh_86a091e50ad4@app",

"custom_app_brand_pass":"API/cardPage",

"custom_url_sub_title": "6个汉字tips",

"promotion_url_name": "更多优惠",

"promotion_url": "",

"promotion_app_brand_user_name": "gh_86a091e50ad4@app",

"promotion_app_brand_pass":"API/cardPage"

}

}

}

请问这几个字段是怎么使用的

"custom_url": "",

"custom_app_brand_pass":"API/cardPage",

custom_url这个字段不知道有什么用,是填的什么地址

custom_app_brand_pass API/cardPage, API是什么

文档上写的 “page/index/index” 直接写的这个提示缺少id,id是怎么传的

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。