wesmiler пре 1 година
родитељ
комит
4f81af3d61
1 измењених фајлова са 1 додато и 1 уклоњено
  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]);
     }