bianjunhui 1 년 전
부모
커밋
18dadc9446
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      application/api/controller/Appindex.php

+ 2 - 2
application/api/controller/Appindex.php

@@ -38,8 +38,8 @@ class Appindex extends Api
     {
         $where['status']=1;
         $where['showType']=array('egt',1);
-        $where['showType']=array('elt',7);
-        $data=Db::name('appindex')->where($where)->select();
+        $wheres['showType']=array('elt',7);
+        $data=Db::name('appindex')->where($where)->where($wheres)->select();
         $new =array();
         foreach ($data as $k=> $v){
             $new[$k]=$this->doHandle($v);