微信小程序开放,分享朋友圈后,打开时没有数据?

小程序 文章 2022-01-20 18:00 2058 0 全屏看文

AI助手支持GPT4.0

微信小程序开放,分享朋友圈后,打开时没有数据?The WeChat applet is open. After sharing the circle of friends, there is no data when it is opened?

微信小程序开放,分享朋友圈后,打开时没有数据?

问题如下图,等大神解救,分享后打开分享页是没有数据的,尝试把path的地址改成index,不带参数,他也是显示xqy当前页的数据。

The problem is as shown in the figure below. After sharing, there is no data when opening the sharing page. Try to change the address of path to index without parameters. It also displays xqy the data of the current page.

回答:

brave:

抱歉记错了,是不支持以下接口:

onShareTimeline 没有 path 参数,只有 query 属性,只能分享当前页面进行传参。

拾忆:

单页模式支持request请求,只是不支持获取用户信息的接口,也不会携带用户信息。

那一抹笑😃 穿透阳光:

看一下,获取数据之前,是不是调用了登录等不支持的api

-EOF-

AI助手支持GPT4.0