1. 获取ACCESS_TOKEN
GET https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET
2. 生成URL Scheme
POST https://api.weixin.qq.com/wxa/generatescheme?access_token=ACCESS_TOKEN
body 参数
{
"jump_wxa":
{
"path": "/pages/home/home",// 项目入口
"query": ""
},
"is_expire":false,// 去掉有效期
//"expire_time":1606737600
}
返回数据
{
"errcode": 0,
"errmsg": "ok",
"openlink": Scheme url
}
URL Scheme链接形式如weixin://dl/business/?t= *TICKET*
学习记录--生成微信url schema
最新推荐文章于 2025-04-25 15:37:53 发布