wesmiler 6 éve
szülő
commit
78ffebb5b7

+ 1 - 1
data/config/weixin.php

@@ -3,7 +3,7 @@
  * 微信配置
  * 微信配置
  */
  */
 return [
 return [
-    'debug'=> false, // 是否测试模式
+    'debug'=> true, // 是否测试模式
     'log'=> true, // 是否记录日志
     'log'=> true, // 是否记录日志
     'payDebug'=> false, // 微信支付测试,开启后支付金额为0.01元
     'payDebug'=> false, // 微信支付测试,开启后支付金额为0.01元
     'payResult'=> false, // 是否记录支付结果
     'payResult'=> false, // 是否记录支付结果

+ 3 - 2
public/static/weixin/js/shop-apply.js

@@ -39,7 +39,7 @@ var app = new Vue({
             mark.addEventListener("dragend", showInfo);
             mark.addEventListener("dragend", showInfo);
             mark.enableDragging();    //可拖拽
             mark.enableDragging();    //可拖拽
 
 
-            map.addEventListener("mousemove",function(e){
+            /*map.addEventListener("mousemove",function(e){
                 console.log(e.point)
                 console.log(e.point)
                 poi = new BMap.Point(e.point.lng, e.point.lat);
                 poi = new BMap.Point(e.point.lng, e.point.lat);
                 mark = new BMap.Marker(poi);
                 mark = new BMap.Marker(poi);
@@ -48,7 +48,7 @@ var app = new Vue({
 
 
                 _this.shopInfo.lng = e.point.lng;
                 _this.shopInfo.lng = e.point.lng;
                 _this.shopInfo.lat = e.point.lat;
                 _this.shopInfo.lat = e.point.lat;
-            });
+            });*/
 
 
             map.addEventListener("click",function(e){
             map.addEventListener("click",function(e){
                 poi = new BMap.Point(e.point.lng, e.point.lat);
                 poi = new BMap.Point(e.point.lng, e.point.lat);
@@ -68,6 +68,7 @@ var app = new Vue({
                     var addComp = rs.addressComponents;
                     var addComp = rs.addressComponents;
                     var address = addComp.province +  addComp.city + addComp.district + addComp.street + addComp.streetNumber;//获取地址
                     var address = addComp.province +  addComp.city + addComp.district + addComp.street + addComp.streetNumber;//获取地址
                     _this.shopInfo.address = address;
                     _this.shopInfo.address = address;
+                    alert(addComp);
                     console.log(_this.shopInfo)
                     console.log(_this.shopInfo)
                     console.log(addComp)
                     console.log(addComp)
                 });
                 });

BIN
public/upload/qrcode/device/C_1_291DD475D0224126A68550D7C406F3B1.jpg


BIN
public/upload/qrcode/device/C_21_384A32C1CDC22D919BB273D0755CEDAE.jpg