May 20, 2021 WeChat Mini Program Development Document
This interface should be called on the server side, as detailed in the Service Side API.
Get the source of the access
GET https://api.weixin.qq.com/wxaapi/log/get_scene?access_token=ACCESS_TOKEN
Property | Type | The default | Required | Description |
---|---|---|---|---|
access_token | string | Is | The interface calls the credentials |
Property | Type | Description |
---|---|---|
errcode | number | Error code |
errmsg | string | The error message |
scene | Array.<Object> | Access the source |
The structure of the scene
Property | Type | Description |
---|---|---|
name | string | The source Chinese name |
value | string} | number |
{
"errcode": 0,
"errmsg": "ok",
"scene": [
{
"name": "全部",
"value": "@_all"
},
{
"name": "小程序历史列表"
"value": 1
}
]
}