...
|
...
|
@@ -21,7 +21,7 @@ class Goods extends Model |
|
|
$where['admin_is_up'] = ['eq',1];
|
|
|
$where['user_deletetime'] = ['eq',0];
|
|
|
$where['admin_deletetime'] = ['eq',0];
|
|
|
$data = $this->where($where)->order('exp desc,end_time asc')->page($page,$pageNum)->fetchSql()->select();
|
|
|
$data = $this->where($where)->order('exp desc,end_time asc')->page($page,$pageNum)->select();
|
|
|
return $data;
|
|
|
}
|
|
|
public function findData($where){
|
...
|
...
|
|