|
@@ -166,6 +166,9 @@
|
|
|
// 微信公众号获取位置
|
|
|
jwx.configWeiXin(jweixin => {
|
|
|
alert(11)
|
|
|
+ console.log('wx')
|
|
|
+ console.log(wx)
|
|
|
+ console.log('wx')
|
|
|
wx.scanQRCode({
|
|
|
needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
|
|
|
scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
|
|
@@ -186,6 +189,7 @@
|
|
|
// 微信公众号获取位置
|
|
|
|
|
|
jwx.configWeiXin(jweixin => {
|
|
|
+
|
|
|
alert(22)
|
|
|
wx.getLocation({
|
|
|
type: 'gcj02', // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
|