|
@@ -11,6 +11,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
|
|
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
|
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
|
|
use PhpOffice\PhpSpreadsheet\Style\Alignment;
|
|
use PhpOffice\PhpSpreadsheet\Style\Alignment;
|
|
|
use App\Models\Api\Process\ViolationStoreMember as ViolationStoreMemberModel;
|
|
use App\Models\Api\Process\ViolationStoreMember as ViolationStoreMemberModel;
|
|
|
|
|
+use App\Jobs\Manager\Process\ViolationCompanyJobs;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 违规处理-违规店铺
|
|
* 违规处理-违规店铺
|
|
@@ -740,6 +741,9 @@ class ViolationStore extends Controller
|
|
|
$message_data = ['page' => '1', 'limit' => 50, 'admin_id' => $admin_id, 'is_admin' => $is_admin, 'company_id' => $company_id];
|
|
$message_data = ['page' => '1', 'limit' => 50, 'admin_id' => $admin_id, 'is_admin' => $is_admin, 'company_id' => $company_id];
|
|
|
ViolationStoreJobs::dispatch($message_data);
|
|
ViolationStoreJobs::dispatch($message_data);
|
|
|
// ViolationStoreJobs::dispatchSync($message_data);
|
|
// ViolationStoreJobs::dispatchSync($message_data);
|
|
|
|
|
+ ViolationCompanyJobs::dispatch($message_data);
|
|
|
|
|
+ // ViolationCompanyJobs::dispatchSync($message_data);
|
|
|
|
|
+
|
|
|
// 告知结果
|
|
// 告知结果
|
|
|
return json_send(['code' => 'success', 'msg' => '执行成功']);
|
|
return json_send(['code' => 'success', 'msg' => '执行成功']);
|
|
|
}
|
|
}
|