diff --git a/application/index/view/default/public/header.html b/application/index/view/default/public/header.html index c115c54c8..ca9e895cf 100755 --- a/application/index/view/default/public/header.html +++ b/application/index/view/default/public/header.html @@ -50,6 +50,7 @@ var __default_theme__ = '{{$default_theme}}'; var __modal_login_url__ = '{{:Url("index/user/modallogininfo")}}'; var __attachment_host__ = '{{$attachment_host}}'; + var __seo_url_suffix__ = '{{:MyC("home_seo_url_html_suffix", "html", true)}}'; var __user_id__ = {{if empty($user['id'])}}0{{else /}}{{$user.id}}{{/if}}; diff --git a/application/plugins/petscms/Pets.php b/application/plugins/petscms/Pets.php index 3ab06068c..339bc51bb 100644 --- a/application/plugins/petscms/Pets.php +++ b/application/plugins/petscms/Pets.php @@ -265,7 +265,16 @@ class Pets extends Controller $this->assign('is_footer', 0); // 参数 - $this->assign('params', input()); + $params = input(); + if(!empty($params['lng'])) + { + $params['lng'] = base64_decode($params['lng']); + } + if(!empty($params['lat'])) + { + $params['lat'] = base64_decode($params['lat']); + } + $this->assign('params', $params); return $this->fetch('../../../plugins/view/petscms/pets/helpmap'); } } diff --git a/application/plugins/view/petscms/pets/helpmap.html b/application/plugins/view/petscms/pets/helpmap.html index 2e7d66337..e9e03d976 100644 --- a/application/plugins/view/petscms/pets/helpmap.html +++ b/application/plugins/view/petscms/pets/helpmap.html @@ -1,7 +1,7 @@ {{include file="public/header" /}} {{if !empty($params['lng']) and !empty($params['lat']) and $params['lng'] gt 0 and $params['lat'] gt 0}} -
+ {{else /}}