作者 李忠强
1 个管道 的构建 通过 耗费 1 秒

更新

... ... @@ -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)
... ...