本接口应在服务器端调用,详细说明参见服务端API。
获取访问来源
GET https://api.weixin.qq.com/wxaapi/log/get_scene?access_token=ACCESS_TOKEN
| 属性 | 类型 | 默认值 | 必填 | 说明 |
|---|---|---|---|---|
| access_token | string | 是 | 接口调用凭证 |
| 属性 | 类型 | 说明 |
|---|---|---|
| errcode | number | 错误码 |
| errmsg | string | 错误信息 |
| scene | Array.<Object> | 访问来源 |
scene 的结构
| 属性 | 类型 | 说明 |
|---|---|---|
| name | string | 来源中文名 |
| value | string} | number |
{
"errcode": 0,
"errmsg": "ok",
"scene": [
{
"name": "全部",
"value": "@_all"
},
{
"name": "小程序历史列表"
"value": 1
}
]
} 备案信息: 粤ICP备15087711号-2
Copyright © 2008-2025 啊嘎哇在线工具箱 All Rights.
本站所有资料来源于网络,版权归原作者所有,仅作学习交流使用,如不慎侵犯了您的权利,请联系我们。