|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace mall\controllers;
|
|
|
|
|
|
+use common\components\dict;
|
|
|
use common\components\util;
|
|
|
use bizHd\saas\services\RegionService;
|
|
|
use Yii;
|
|
|
@@ -16,7 +17,8 @@ class RegionController extends BaseController
|
|
|
{
|
|
|
$regionTree = RegionService::tree();
|
|
|
$mapKey = 'OFWBZ-2NTHP-EHNDD-LKWQY-GANM7-PXBJH';
|
|
|
- $out = ['tree' => $regionTree, 'thirdMapKey' => $mapKey];
|
|
|
+ $hasMap = dict::getDict('hasMap');
|
|
|
+ $out = ['tree' => $regionTree, 'thirdMapKey' => $mapKey, 'hasMap' => $hasMap];
|
|
|
util::success($out);
|
|
|
}
|
|
|
|