作者 邓超

v2 调整

@@ -64,8 +64,8 @@ class Home extends Base { @@ -64,8 +64,8 @@ class Home extends Base {
64 64
65 65
66 $sql = "`id` > ".$last_id; 66 $sql = "`id` > ".$last_id;
67 - if(!$last_id && $udate){  
68 - $sql = "`udate` > ".$udate; 67 + if($udate){
  68 + $sql .= " and `udate` > ".$udate;
69 } 69 }
70 70
71 $lists = db()->all( 71 $lists = db()->all(