From e99c7835a73ec6210d5f156d39ddb71a39d5f64e Mon Sep 17 00:00:00 2001 From: liapples Date: Tue, 26 Oct 2021 00:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9C=B0=E5=9B=BE=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/admin-agent.php | 8 ++++++++ config/admin.php | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/config/admin-agent.php b/config/admin-agent.php index 9e3aa99..4e75ba4 100644 --- a/config/admin-agent.php +++ b/config/admin-agent.php @@ -343,4 +343,12 @@ return [ | Whether enable default breadcrumb for every page content. */ 'enable_default_breadcrumb' => true, + + //地图配置 + 'map_provider' => 'tencent', + 'map' => [ + 'keys' => [ + 'tencent' => env('TENCENT_MAP_KEY','') + ] + ] ]; diff --git a/config/admin.php b/config/admin.php index e699c57..f5b8abb 100644 --- a/config/admin.php +++ b/config/admin.php @@ -363,4 +363,12 @@ return [ // the extension files will be generated in this directory. 'dir' => base_path('dcat-admin-extensions'), ], + + //地图配置 + 'map_provider' => 'tencent', + 'map' => [ + 'keys' => [ + 'tencent' => env('TENCENT_MAP_KEY','') + ] + ] ];