Ken 1 週間 前
コミット
84f82e7da0
1 ファイル変更1 行追加4 行削除
  1. 1 4
      app/Http/Controllers/api/Issue.php

+ 1 - 4
app/Http/Controllers/api/Issue.php

@@ -27,10 +27,7 @@ class Issue extends BaseController
             ]);
             $date = request()->input('date', null);
             if (!$date) $date = date("Y-m-d");
-//            CaoHistory::
-
-
-            $list = [];
+            $list = CaoHistory::where('date', $date)->first();
         } catch (ValidationException $e) {
             return $this->error($e->validator->errors()->first());
         } catch (Exception $e) {