wangguoyu 1 månad sedan
förälder
incheckning
e027777e6f
4 ändrade filer med 6 tillägg och 6 borttagningar
  1. 1 1
      components/customMap/customMap.vue
  2. 1 1
      config.js
  3. 3 3
      manifest.json
  4. 1 1
      pages/admin/Jiazheng/index.vue

+ 1 - 1
components/customMap/customMap.vue

@@ -321,7 +321,7 @@
 	function initLocation() {
 		console.log('init')
 		uni.getLocation({
-			type: 'gcj02',
+			type: 'wgs84',
 			success: function(res) {
 				console.log('res', res)
 				data.longitude = res.longitude;

+ 1 - 1
config.js

@@ -4,7 +4,7 @@ let isPro = process.env.NODE_ENV === 'production'
 const devUrl = 'https://kf3.mtavip.com/api'
 const proUrl = 'https://www.chengxiangjiaoyu.com/api'
 const devKey = 'MZRBZ-Q6PKQ-THS5E-BOGKN-ZH4MQ-6YFWC'
-const proKey = 'MZRBZ-Q6PKQ-THS5E-BOGKN-ZH4MQ-6YFWC'
+const proKey = 'VLOBZ-Q7XWB-YR4UP-NO4PH-EM7FS-G3BLR'
 export default   {
   baseUrl: isPro?proUrl:devUrl,
   mapKey:isPro?proKey:devKey,

+ 3 - 3
manifest.json

@@ -80,7 +80,7 @@
                 },
                 "maps" : {
                     "tencent" : {
-                        "key" : "MZRBZ-Q6PKQ-THS5E-BOGKN-ZH4MQ-6YFWC"
+                        "key" : "VLOBZ-Q7XWB-YR4UP-NO4PH-EM7FS-G3BLR"
                     }
                 }
             },
@@ -155,10 +155,10 @@
         "sdkConfigs" : {
             "maps" : {
                 "qqmap" : {
-                    "key" : "KBYBZ-FS3KZ-U2FXR-7VPDX-L7J46-23F55"
+                    "key" : "VLOBZ-Q7XWB-YR4UP-NO4PH-EM7FS-G3BLR"
                 },
                 "tencent" : {
-                    "key" : "MZRBZ-Q6PKQ-THS5E-BOGKN-ZH4MQ-6YFWC"
+                    "key" : "VLOBZ-Q7XWB-YR4UP-NO4PH-EM7FS-G3BLR"
                 }
             }
         }

+ 1 - 1
pages/admin/Jiazheng/index.vue

@@ -411,7 +411,7 @@
 	function getCurrentWeizhi() {
 		console.log('1231231');
 		uni.getLocation({
-			type: 'gcj02',
+			type: 'wgs84',
 			success: function(res) {
 				console.log('res', res)
 				data.jingdu = res.longitude