zxhxx 3 년 전
부모
커밋
f834a43850
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)