wx.reportEvent(string eventId, object data) 没有生效

发布于 5 年前作者 guiying349113 次浏览最后编辑 5 年前来自 issues
wx.reportEvent("wxdata_click_goods", {
    "spu_id": "",
    "spu_name": "",
    "sku_id": "",
    "sku_name": "",
    "price_original": 0,
    "price_current": 0,
    "spu_standard_catg_id": "",
    "spu_catg_first_id": "",
    "spu_catg_first_name": "",
    "spu_catg_second_id": "",
    "spu_catg_second_name": ""
})

reportEvent是灰的,关联不到api
1 回复
jun40
jun401 楼7 个月前

基础库 2.14.4 开始支持,低版本需做兼容处理