通过APP唤起微信小游戏,并且接收小游戏参数

console.log("begin")
console.log(wx.getLaunchOptionsSync())
console.log(JSON.stringify(wx.getLaunchOptionsSync()))
wx.showModal({
title: '123213',
content: JSON.stringify(wx.getLaunchOptionsSync().query),
})
console.log("end")
 
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=21526646437Y6nEC&token=ae4e632e7dcc175a183ce11346e0dfcd98399d82&lang=zh_CN
 
 
 
posted on 2018-07-19 15:58  wxm3177  阅读(1698)  评论(0编辑  收藏  举报