Ken hace 2 meses
padre
commit
54e5ba1a4f
Se han modificado 1 ficheros con 18 adiciones y 2 borrados
  1. 18 2
      app/Http/Controllers/api/Issue.php

+ 18 - 2
app/Http/Controllers/api/Issue.php

@@ -36,11 +36,27 @@ class Issue extends BaseController
         ];
         $type = [11,12,13];
         $list[] = Cao::whereIn('id', $type)->get();
-
-
         $list[] = Cao::where('id', '>=',14)
             ->where('id', '<=',41)
             ->get();
+        $list[] = [
+            ['field'=>'龙','val'=>0],
+            ['field'=>'虎','val'=>0],
+            ['field'=>'合','val'=>0],
+            ['field'=>'鸡','val'=>0],
+            ['field'=>'鸭','val'=>0],
+            ['field'=>'狗','val'=>0],
+        ];
+        $list[] = [
+            ['field'=>'中','val'=>0],
+            ['field'=>'边','val'=>0],
+            ['field'=>'大边','val'=>0],
+            ['field'=>'小边','val'=>0],
+        ];
+        $list[] = Cao::where('id', '>=',42)
+            ->where('id', '<=',49)
+            ->get();
+
         return $this->success($list);
     }