$this->_init([
'table' => $table.'_comment',
'select_list' => $table.'_comment.*,'.$table.'.title,'.$table.'.url',
'order_by' => $table.'_comment.inputtime desc',
'join_list' => [$table, $table.'.id='.$table.'_comment.cid', 'left'],
'where_list2' =>$table.'_comment.cid='.$this->cid.'',
'where_list' =>$table.'_comment.id='.$this->id.'',請(qǐng)教下一下:
where_list 這個(gè)怎么樣使用多判斷。adn 方法不可用
用增加了一個(gè)list2 也是不可用。
'where_list' =>$table.'_comment.id='.$this->id.' and '.$table.'_comment.cid='.$this->cid.'',開(kāi)源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!