语法
Db::table(表名)->where(条件)->select();
示例
$map['id'] = ['>',1]; $map['mail'] = ['like','%thinkphp@qq.com%']; Db::table('think_user')->where($map)->select();