1.5 【旧版】客户方小程序免密跳转东福小程序
# 1.5 【旧版】客户方小程序免密跳转东福小程序
适用于客户方小程序免密登录百福得小程序场景,需要结合1.1+1.3生成auth_code授权码,不推荐使用该方式,建议直接使用1.7生成签名即可。
# 公共参数
| 参数名称 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| auth_code | string | 是 | 授权code,1.3接口中返回的临时授权码 |
| platform | int | 是 | 10:PC平台 11:H5平台 |
# 请求示例
wx.navigateToMiniProgram({ // 百福得小程序appid,正式环境和测试环境都是这个 appId: 'wxe25d3f74313cbf6f', // 百福得小程序页面路径 path: 'pages/index/index?auth_code=To7N2nc97OvIz296qOvAxv1RUCvbZ&platform=11', // 打开正式版,测试环境用trial envVersion: 'release', success(res) { console.log(res); }, fail: function (err) { console.log(err); } })1
2
3
4
5
6
7
8
9
10
11
12
13
14