diff --git a/public/.htaccess b/public/.htaccess index 856616a..cc42733 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -6,6 +6,6 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^(.*)\.(gif|jpg|jpeg|png|swf|mp4)$ [NC] RewriteRule ^(.*)$ index.php?s=/$1 [QSA,PT,L] - #增加如下内容 + SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0 \ No newline at end of file diff --git a/public/static/layuimini/js/lay-module/location/location.js b/public/static/layuimini/js/lay-module/location/location.js index 7aac527..48df130 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 { 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: '鍖哄煙瀹氫綅',