Commit 3c7438d0 by LiuJunYi

上传

parent 59314d57
......@@ -68,9 +68,9 @@ class User extends AuthBase
// }else{
// $condition['vip_endtime'] = ['<',date('Y-m-d H:i:s')];
// }
// if($is_vip){
// $condition['vip_endtime'] = 1;
// }
if($is_vip){
$condition['is_vip'] = 1;
}
if($start_time&&$end_time){
$condition['created_at'] = ['between',[$start_time.' 00:00:00',$end_time.' 00:00:00']];
}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