diff --git a/public/static/layuimini/js/lay-module/location/location.js b/public/static/layuimini/js/lay-module/location/location.js index 7aac527..0f213bb 100644 --- a/public/static/layuimini/js/lay-module/location/location.js +++ b/public/static/layuimini/js/lay-module/location/location.js @@ -672,7 +672,7 @@ layui.define(['layer', 'locationX'], function (exports) { $("#lat").val(o.lat); // 渲染地图 if (undefined === window.BMap) { - $.getScript("http://api.map.baidu.com/getscript?v=2.0&ak=tCNPmUfNmy4nTR3VYW71a6IgyWMaOSUb&services=&t=20200824135534", function () { + $.getScript("https://api.map.baidu.com/getscript?v=2.0&ak=tCNPmUfNmy4nTR3VYW71a6IgyWMaOSUb&services=&t=20200824135534", function () { o.openBaiduMap(); }); } else { @@ -697,7 +697,7 @@ layui.define(['layer', 'locationX'], function (exports) { $("#lat").val(o.lat); // 渲染地图 if (undefined === window.T) { - $.getScript("http://api.tianditu.gov.cn/api?v=4.0&tk=a8718394c98e9ae85b0d7af352653ce2&callback=init", function () { + $.getScript("https://api.tianditu.gov.cn/api?v=4.0&tk=a8718394c98e9ae85b0d7af352653ce2&callback=init", function () { o.openTiandiMap(); }) } else { diff --git a/view/manager/business_circle/add.html b/view/manager/business_circle/add.html index 6c2ccdb..6987a61 100644 --- a/view/manager/business_circle/add.html +++ b/view/manager/business_circle/add.html @@ -138,8 +138,8 @@ location.render("#locationBtn",{ type: 1, - apiType: "gaodeMap", - coordinate: "gaodeMap", + apiType: "baiduMap", + coordinate: "baiduMap", mapType: 0, zoom: 15, title: '区域定位', diff --git a/view/manager/business_circle/edit.html b/view/manager/business_circle/edit.html index dd4b8b2..d006e50 100644 --- a/view/manager/business_circle/edit.html +++ b/view/manager/business_circle/edit.html @@ -145,8 +145,8 @@ location.render("#locationBtn",{ type: 1, - apiType: "gaodeMap", - coordinate: "gaodeMap", + apiType: "baiduMap", + coordinate: "baiduMap", mapType: 0, zoom: 15, title: '区域定位',