diff --git a/.env.full b/.env.full index 74ef76b..edc3b6a 100644 --- a/.env.full +++ b/.env.full @@ -161,7 +161,7 @@ AWS_BUCKET= AWS_ENDPOINT= # JWT相关配置,通过php artisan jwt:secret生成密钥,线上务必重新生成 -JWT_SECRET=ker4H1Gp4TsxxxxWJMac2SMA8Zsh3drv +JWT_SECRET=H8aj66EcbErwA1ZXMxvNYqHtNcH23SSLnPZYugFG7B88yBuEL11cZnRBd1Stm9kU JWT_TTL=7200 JWT_REFRESH_TTL=20160 diff --git a/composer.json b/composer.json index 843e310..7451408 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "laravel/lumen", - "version": "4.4.0", + "version": "4.4.1", "description": "The Laravel Lumen Framework.", "keywords": ["framework", "laravel", "lumen"], "license": "MIT", diff --git a/src/ThirdPartyBundle/Services/Map/MapService.php b/src/ThirdPartyBundle/Services/Map/MapService.php index 22113ed..70b5341 100644 --- a/src/ThirdPartyBundle/Services/Map/MapService.php +++ b/src/ThirdPartyBundle/Services/Map/MapService.php @@ -117,6 +117,9 @@ class MapService extends BaseService // 获取默认的配置项 $defaultInfo = self::$instance->getDefaultConfig($companyId); + if (empty($defaultInfo)) { + throw new \Exception("请前往设置/系统设置/地图配置中配置地图信息"); + } // 注册配置信息 self::$instance->setConfigInfo($defaultInfo);