Selaa lähdekoodia

新的地区接口

lizhen_gitee 1 vuosi sitten
vanhempi
commit
994c8c1eed
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      application/api/controller/Area.php

+ 1 - 1
application/api/controller/Area.php

@@ -13,7 +13,7 @@ class Area extends Api
     protected $noNeedRight = ['*'];
     protected $noNeedRight = ['*'];
 
 
     public function city_area(){
     public function city_area(){
-        $zimuarr = ['A'=>[],'B'=>[],'C'=>[],'D'=>[],'E'=>[],'F'=>[],'G'=>[],'H'=>[],'I'=>[],'J'=>[],'K'=>[],'L'=>[],'M'=>[],'N'=>[],'O'=>[],'P'=>[],'Q'=>[],'R'=>[],'S'=>[],'T'=>[],'U'=>[],'V'=>[],'W'=>[],'X'=>[],'Y'=>[],'Z'];
+        $zimuarr = ['A'=>[],'B'=>[],'C'=>[],'D'=>[],'E'=>[],'F'=>[],'G'=>[],'H'=>[],'J'=>[],'K'=>[],'L'=>[],'M'=>[],'N'=>[],'P'=>[],'Q'=>[],'R'=>[],'S'=>[],'T'=>[],'W'=>[],'X'=>[],'Y'=>[],'Z'=>[]];
 
 
         $list = Db::name('area')->field('id,name,first')->where('level',2)->select();
         $list = Db::name('area')->field('id,name,first')->where('level',2)->select();