lizhen_gitee 1 rok pred
rodič
commit
16da3bb2cc
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Http/Controllers/Controller.php

+ 1 - 1
app/Http/Controllers/Controller.php

@@ -28,7 +28,7 @@ class Controller extends BaseController
 
     public function plantask(){
 
-        $list = DB::table('mt_message')->where('dispatch_status',0)->orderBy('id','asc')->get()->toArray();
+        $list = DB::table('mt_message')->where('dispatch_status',0)->limit(10)->orderBy('id','asc')->get()->toArray();
         //dd($list);
         //
         if(!empty($list)){