ThinkPHP5中where查询条件使用数组时设置or或者and董德多2020年5月5日0 ThinkPHP5中where查询条件使用数组时设置or或者and的写法: $where[status] = array([=,1],[=,3],or); 上面代码等同于: where status = 1 or status = 3;