收藏
回答

【获取分享卡片链接参数】接口getShareParams在本地开发工具有数据,上线后无数据?

1.3.5版本组件,

本地接收的打印:{"data":"{\"path\":\"pages\/live-player-plugin\",\"query\":{\"room_id\":\"17\",\"room_appid\":\"wx708325***5c37c8f\",\"type\":\"1\",\"share_openid\":\"ovJpm5***VY3Zps7reSm-UUSgQig\",\"custom_params\":\"%7B%22spid%22%3A31006%7D\",\"close_picture_in_picture_mode\":\"0\",\"open_share_ticket\":\"0\",\"lottery_id\":\"0\"},\"scene\":1047,\"referrerInfo\":{},\"mode\":\"default\",\"apiCategory\":\"default\"}","type":"onShow","uid":30130}

线上接收的打印:{"data":"{\"path\":\"plugin-private:\/\/wx2b03c6e691cd7370\/pages\/live-player-plugin\",\"query\":{},\"scene\":1047,\"referrerInfo\":{},\"mode\":\"default\",\"apiCategory\":\"default\"}","type":"onShow","uid":30130}

为什么会这样,上线传参要注意什么?

最后一次编辑于  2022-09-15
回答关注问题邀请回答
收藏

1 个回答

  • 凯撒
    凯撒
    2023-04-14

    同问

    2023-04-14
    有用
    回复
登录 后发表内容