|
|
@@ -20,6 +20,7 @@ use Illuminate\Support\Facades\Cache;
|
|
|
use Illuminate\Support\Carbon;
|
|
|
use App\Jobs\Manager\Process\ScrapeDataProductJobs;
|
|
|
use App\Models\Manager\External\Company as CompanyModel;
|
|
|
+use App\Jobs\Manager\Process\CityWarningNoticeJobs;
|
|
|
|
|
|
/**
|
|
|
* 违规处理-低价商品
|
|
|
@@ -488,8 +489,8 @@ class LowPriceGoods extends Controller
|
|
|
$fileName = '低价挂网商品数据' . $fileId . '.xlsx';
|
|
|
$message_data['company_id'] = $low_price_goods_where['company_id'];
|
|
|
$message_data['user_id'] = $message_data['user_id'];
|
|
|
- // ExportLowPriceGoodsJobs::dispatch($message_data);
|
|
|
- ExportLowPriceGoodsJobs::dispatchSync($message_data);
|
|
|
+ ExportLowPriceGoodsJobs::dispatch($message_data);
|
|
|
+ // ExportLowPriceGoodsJobs::dispatchSync($message_data);
|
|
|
return json_send(['code' => 'success', 'msg' => '导出任务添加成功', 'data' => ['file_id' => $fileId, 'file_name' => $fileName]]);
|
|
|
}
|
|
|
|