thinkphp where中or多个like模糊搜索

$where['m_username|mnickname'] = array('like', "%{$keyword}%", 'or');

['name|seo_title|keywords|description|desc|introduce_text|tags' => ['like', "%$term%",'or']]

 

你可能感兴趣的