|
@@ -7,14 +7,17 @@ use App\Model\Record;
|
|
|
|
|
|
|
|
class TestController extends BaseController
|
|
class TestController extends BaseController
|
|
|
{
|
|
{
|
|
|
- public function test(){dd(22);
|
|
|
|
|
|
|
+ public function test(){
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ private function submitAgain(){
|
|
|
$result = Record::where('del_time',2)
|
|
$result = Record::where('del_time',2)
|
|
|
-// ->where('result', '<>', '')
|
|
|
|
|
|
|
+ ->where('result', '<>', '')
|
|
|
->get()->toArray();
|
|
->get()->toArray();
|
|
|
foreach ($result as $value){
|
|
foreach ($result as $value){
|
|
|
ProcessDataJob::dispatch($value)->onQueue(Record::$job);
|
|
ProcessDataJob::dispatch($value)->onQueue(Record::$job);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- dd(1);
|
|
|
|
|
|
|
+ dd('ok');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|