|
|
@@ -373,11 +373,6 @@ class ExportExcel extends AuthController
|
|
|
if (isset($where['extract_type']) && $where['extract_type'] == 'wx') {
|
|
|
$where['extract_type'] = 'weixin';
|
|
|
}
|
|
|
- if ($where['store_id'] || $where['supplier_id'] || in_array($where['plat_type'], [0, 1, 2])) {
|
|
|
- $where['pid'] = 0;
|
|
|
- } elseif (!in_array($where['status'], [-1, -2, -3])) {
|
|
|
- $where['pid'] = [0, -1];
|
|
|
- }
|
|
|
$data = $services->getExportList($where);
|
|
|
return $this->success($this->service->extract($data));
|
|
|
}
|