静态页面
纯前端,没有后端支持的情况下,是不是做不了微信分享
获取不到wx.config的么? 也不能写死?
wx.config({
debug:false,
appId: AppId,
timestamp: timestamp,
nonceStr: nonce_str,
signature: signature,
jsApiList: [
'checkJsApi',
'updateAppMessageShareData',
'updateTimelineShareData',
'onMenuShareAppMessage'
]
});
是的。微信不想让你纯前端分享,有后端意味着有服务器、有域名、有备案,可控可防。