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

  • Post author:
  • Post category:其他


$where = [

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

]


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



版权声明:本文为sanqianshijie原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。