|
@@ -50,7 +50,7 @@ class VerifyRecordDao extends BaseDao
|
|
|
$query->where('product_id',$where['product_id']);
|
|
$query->where('product_id',$where['product_id']);
|
|
|
})->when(isset($where['status']) && $where['status'] !== '',function($query) use($where){
|
|
})->when(isset($where['status']) && $where['status'] !== '',function($query) use($where){
|
|
|
$query->where('status',$where['status']);
|
|
$query->where('status',$where['status']);
|
|
|
- });
|
|
|
|
|
|
|
+ })->with(['product','user']);
|
|
|
return $query;
|
|
return $query;
|
|
|
}
|
|
}
|
|
|
|
|
|