Commit cbc940c2 by LiuJunYi

excel增加字段

parent 83b3d38a
...@@ -63,11 +63,11 @@ class User extends AuthBase ...@@ -63,11 +63,11 @@ class User extends AuthBase
if($nickname){ if($nickname){
$condition['nickname'] = ['like','%'.$nickname.'%']; $condition['nickname'] = ['like','%'.$nickname.'%'];
} }
if($is_vip){ // if($is_vip){
$condition['vip_endtime'] = ['>=',date('Y-m-d H:i:s')]; // $condition['vip_endtime'] = ['>=',date('Y-m-d H:i:s')];
}else{ // }else{
$condition['vip_endtime'] = ['<',date('Y-m-d H:i:s')]; // $condition['vip_endtime'] = ['<',date('Y-m-d H:i:s')];
} // }
if($start_time&&$end_time){ if($start_time&&$end_time){
$condition['created_at'] = ['between',[$start_time.' 00:00:00',$end_time.' 00:00:00']]; $condition['created_at'] = ['between',[$start_time.' 00:00:00',$end_time.' 00:00:00']];
}else{ }else{
......
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