tp5 查询多条条件判断where between in

$where = [

    'sms_date'=>['between',[$start_time,$end_time]],
    'phone'=>'15323371121'

]


Db::table('sms_code')->where($where)->count();

你可能感兴趣的:(php,php)