master
wangxinglong 2022-01-27 11:45:24 +08:00
parent 4f88ec733d
commit d34a5f1946
4 changed files with 6 additions and 6 deletions

View File

@ -6,6 +6,6 @@
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^(.*)\.(gif|jpg|jpeg|png|swf|mp4)$ [NC] RewriteCond %{REQUEST_URI} !^(.*)\.(gif|jpg|jpeg|png|swf|mp4)$ [NC]
RewriteRule ^(.*)$ index.php?s=/$1 [QSA,PT,L] RewriteRule ^(.*)$ index.php?s=/$1 [QSA,PT,L]
#增加如下内容
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0 SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
</IfModule> </IfModule>

View File

@ -672,7 +672,7 @@ layui.define(['layer', 'locationX'], function (exports) {
$("#lat").val(o.lat); $("#lat").val(o.lat);
// 渲染地图 // 渲染地图
if (undefined === window.BMap) { 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(); o.openBaiduMap();
}); });
} else { } else {

View File

@ -138,8 +138,8 @@
location.render("#locationBtn",{ location.render("#locationBtn",{
type: 1, type: 1,
apiType: "gaodeMap", apiType: "baiduMap",
coordinate: "gaodeMap", coordinate: "baiduMap",
mapType: 0, mapType: 0,
zoom: 15, zoom: 15,
title: '区域定位', title: '区域定位',

View File

@ -145,8 +145,8 @@
location.render("#locationBtn",{ location.render("#locationBtn",{
type: 1, type: 1,
apiType: "gaodeMap", apiType: "baiduMap",
coordinate: "gaodeMap", coordinate: "baiduMap",
mapType: 0, mapType: 0,
zoom: 15, zoom: 15,
title: '区域定位', title: '区域定位',