# burialPoint

给weex 用的埋点接口

# 调用方式

burialPoint(params)
1

返回 Promise,使用 then/catch 或 await 处理结果。

# 请求参数

Prop Type Required Default Description
pageName String Y - 页面名称
actionType String Y - 操作类型
subAction String Y - 子操作
action_result String N '' 操作结果

参数对象示例(数值为示例值,不代表默认值):

const params = {
  pageName,
  actionType,
  subAction,
  action_result
}
1
2
3
4
5
6

# 接口调用示例

this.$bridge.burialPoint({
  pageName,
  actionType,
  subAction,
  action_result,
});
1
2
3
4
5
6

# 返回参数

返回 Promise;原生返回数据的字段由宿主决定,当前 JS 封装未限定完整结构。