...
|
...
|
@@ -110,8 +110,7 @@ class Index extends Api |
|
|
if (is_numeric($pepole)) $where['all_number'] = $pepole;
|
|
|
if (is_numeric($time)) $where['duration'] = $time;
|
|
|
if (is_numeric($type)) $where['idea_type_id'] = $type;
|
|
|
$where['key_word'] = $text;
|
|
|
var_dump($where);exit();
|
|
|
if ($text) $where['key_word'] = $text;
|
|
|
$ideaModel = new Idea();
|
|
|
$list = $ideaModel
|
|
|
->where($where)
|
...
|
...
|
|