dyjh 6 years ago
parent
commit
ffb9e687b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

+ 1 - 1
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -745,7 +745,7 @@ class AlbumController extends Controller
             case '2':
                 if(!$request->input('start_time')||!$request->input('end_time')) return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '传入参数不正确!');
                 $start_time = date('Y-m-d H:i:s',$request->input('start_time'));
-                $end_time = date('Y-m-d H:i:s',$request->input('end_time'));
+                $end_time = date('Y-m-d H:i:s',$request->input('end_time'));dd($start_time.';'.$end_time);
                 $query = $query->where([['created_at','>=',$start_time],['created_at','<=',$end_time]]);
 
                 break;