zxhxx 3 năm trước cách đây
mục cha
commit
f834a43850
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/api/controller/Institution.php

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

@@ -23,7 +23,7 @@ class Institution extends Api
 
         );
 
-        if($all==0) $cid = $this->cid: $cid=0;
+        if($all==0) $cid = $this->cid; else $cid=0;
         $this->success('获取成功',Ade::lst($cid,$latitude,$longitude,$page,$limit));
     }
     public function insti(Request $request)