欢迎光临
我们一直在努力

九八云小程序教程:微信小程序 运维中心·getSceneList

operation.getSceneList

本接口应在服务器端调用,详细说明参见 服务端API。

获取访问来源

请求地址

GET https://api.weixin.qq.com/wxaapi/log/get_scene?access_token=ACCESS_TOKEN

请求参数

属性 类型 默认值 必填 说明
access_token string 接口调用凭证

返回的 JSON 数据包

属性 类型 说明
errcode number 错误码
errmsg string 错误信息
scene Array.<Object> 访问来源

scene 的结构

属性 类型 说明
name string 来源中文名
value string} number

响应示例

{
   "errcode": 0,
   "errmsg": "ok",
   "scene": [
      {
          "name": "全部",
          "value": "@_all"
      },
      {
          "name": "小程序历史列表"
          "value": 1
      }
   ]
}

未经允许不得转载:九八云安全 » 九八云小程序教程:微信小程序 运维中心·getSceneList