|
@@ -51,6 +51,11 @@ class Goodup extends BaseController
|
|
|
if($brandid!==""){
|
|
|
$where[]=['brand_id',"=",$brandid];
|
|
|
}
|
|
|
+ $status = isset($this->post['status']) && $this->post['status'] !=="" ? intval($this->post['status'])
|
|
|
+ :"";
|
|
|
+ if($status!==""){
|
|
|
+ $where[]=['status',"=",$status];
|
|
|
+ }
|
|
|
$start = isset($this->post['start']) && $this->post['start']!=="" ? $this->post['start']:"";
|
|
|
if($start!==""){
|
|
|
$where[]=['addtime',">=",date('Y-m-d H:i:s',strtotime($start))];
|