thinkphp or查询

$map['source'] = array(array('eq',0),array('eq',1), 'or');

$this->model->where($map)

原文地址:https://www.cnblogs.com/wyqn/p/7307053.html