|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace App\Http\Controllers\api;
|
|
|
|
|
|
+use App\Models\Cao;
|
|
|
use App\Services\IssueService;
|
|
|
|
|
|
class Issue extends BaseController
|
|
|
@@ -22,7 +23,12 @@ class Issue extends BaseController
|
|
|
|
|
|
public function cao()
|
|
|
{
|
|
|
-
|
|
|
+ $type = [1, 2, 3, 4];
|
|
|
+ $list = [];
|
|
|
+ $list[] = Cao::whereIn('id', $type)->get();
|
|
|
+ $type = [5,6,7,8];
|
|
|
+ $list[] = Cao::whereIn('id', $type)->get();
|
|
|
+ return $this->success($list);
|
|
|
}
|
|
|
|
|
|
}
|