thinkPHP5 where多条件查询

先看代码:$article_list  = $this->your_model

              ->where($ids)

              ->where($map)

              ->order(['id' => 'ASC'])

              ->paginate(20, false, ['page' => $page]);
        echo $this->company_model->getLastSql();

好吧 ,就是再加个where条件。哈哈 ···

原文地址:https://www.cnblogs.com/ifyoukonw/p/6899532.html