|
@@ -52,7 +52,7 @@ class CollectData extends Controller
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
$CompanyModel = new CompanyModel();
|
|
$CompanyModel = new CompanyModel();
|
|
|
- $company_list = $CompanyModel->select(['id', 'status'])->where([['id','!=','5']])->where('status', 0)->orderByDesc('cleaning_priority')->get()->toarray();
|
|
|
|
|
|
|
+ $company_list = $CompanyModel->select(['id', 'status'])->where('status', 0)->orderByDesc('cleaning_priority')->get()->toarray();
|
|
|
foreach ($company_list as $company) {
|
|
foreach ($company_list as $company) {
|
|
|
$message_data = ['company_id' => $company['id'], 'page' => '2', 'limit' => '10'];
|
|
$message_data = ['company_id' => $company['id'], 'page' => '2', 'limit' => '10'];
|
|
|
LowPriceOnlineStatisticsjobs::dispatch($message_data);
|
|
LowPriceOnlineStatisticsjobs::dispatch($message_data);
|