wesmiler hai 1 ano
pai
achega
4f81af3d61
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Api/v1/LiveController.php

+ 1 - 1
app/Http/Controllers/Api/v1/LiveController.php

@@ -108,7 +108,7 @@ class LiveController extends webApp
     {
         // 观看直播任务
         $id = request()->post('id',0);
-        $time = request()->post('time',0);
+        $time = request()->post('view_time',0);
         TaskService::make()->updateTask($this->userId,1, $id, $time);
         return showJson(1010,true, ['id'=> $id,'time'=>$time]);
     }