Commit 95da7029 authored by hujun's avatar hujun

注册时间

parent a76d2e83
......@@ -134,6 +134,22 @@ class Member extends Basic{
$where['a.user_status'] = $params['user_rent'];
}
//注册时间
if (!empty($params['registration_start']) && empty($params['registration_end'])) {
$where['a.registration_time'] = ['< time',$params['registration_start']. ' 23:59:59'];
}
//注册时间
if (!empty($params['registration_end']) && empty($params['registration_start'])) {
$where['a.registration_time'] = ['< time',$params['registration_start']. ' 23:59:59'];
}
//注册时间
if (!empty($params['registration_start']) && !empty($params['registration_end'])) {
$where['a.registration_time'] = ['between time', [$params['registration_start']. ' 00:00:00', $params['registration_end'] . ' 23:59:59']];
$type = 2;
}
/* //最后登录开始时间
if (!empty($params['login_time_start']) && empty($params['login_time_end'])) {
$where['a.last_login_time'] = ['> time',$params['last_login_time']. ' 00:00:00'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment