thinkphp5 where or 连贯操作多条件查询

版权声明:廖圣平博客,未经博主允许不得转载。企鹅:1194008361 https://blog.csdn.net/qq_22823581/article/details/88232799
 $today = ['firm_add_time'=>[ [ 'eq' , 1] , [ 'eq' , 2 ] ,  [ 'eq' , 3 ] , 'or' ]];

第二种

$where =['member_time' => ['egt', MONTH_BEGIN]];

in操作:

$where = ['id'=>['in',$id]];

没有更多推荐了,返回首页