...
|
...
|
@@ -15,7 +15,9 @@ class GoodsModel extends Model |
|
|
{
|
|
|
public function getList($map=''){
|
|
|
if (empty($map)){
|
|
|
$map['delete_time']=null;
|
|
|
$map1['delete_time']=null;
|
|
|
$goods=$this->where($map1)->select();
|
|
|
return $goods;
|
|
|
}
|
|
|
$goods=$this->where($map)->select();
|
|
|
return $goods;
|
...
|
...
|
|