whitefang 1 rok temu
rodzic
commit
0444df824c

+ 1 - 1
app/api/controller/RegionController.php

@@ -11,7 +11,7 @@ use app\api\validate\RegionValidate;
  */
 class RegionController extends BaseApiController
 {
-    public array $notNeedLogin = ['index'];
+    public array $notNeedLogin = ['index','get_address_location'];
 
     /**
      * 获取省市区

+ 0 - 1
app/api/logic/RegionLogic.php

@@ -16,7 +16,6 @@ use think\Exception;
  */
 class RegionLogic extends BaseLogic
 {
-    public array $notNeedLogin = ['getRegionList','getLocation','get_first_char','get_first_char','array_group_by','my_trim'];
 
     /**
      * 获取城市列表